Home
last modified time | relevance | path

Searched refs:textureHash (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp341 auto const textureHash = BASE_NS::Hash(samplerIndex, imageIndex); in GetTextureIndex() local
342 auto const textureIndex = FindOrAddIndex(textureHashes_, textureHash); in GetTextureIndex()
1214 TextureHelper textureHash; in ExportGltfMaterials() local
1229 … ExportGltfMaterial(device, *exportMaterial, material, textureHash, gpuHandleManager); in ExportGltfMaterials()
1244 if (device && textureHash.HasSamplers()) { in ExportGltfMaterials()
1245 … result.data->samplers = textureHash.GenerateGltfSamplers(device->GetGpuResourceManager()); in ExportGltfMaterials()
1249 if (textureHash.HasImages()) { in ExportGltfMaterials()
1250 result.data->images = textureHash.GenerateGltfImages(resourceEnties, uriManager); in ExportGltfMaterials()
1254 if (textureHash.HasTextures()) { in ExportGltfMaterials()
1255 …result.data->textures = textureHash.GenerateGltfTextures(result.data->samplers, result.data->image… in ExportGltfMaterials()