Searched refs:samplerIndex (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 339 auto GetTextureIndex(uint32_t samplerIndex, uint32_t imageIndex) in GetTextureIndex() argument 341 auto const textureHash = BASE_NS::Hash(samplerIndex, imageIndex); in GetTextureIndex() 345 usedTextures_[textureIndex] = { samplerIndex, imageIndex }; in GetTextureIndex() 859 auto const samplerIndex = FindOrAddIndex(samplerHashes, Hash(*trackHandle)); in ExportGltfAnimations() local 860 if ((samplerIndex + 1) >= exportAnimation->samplers.size()) { in ExportGltfAnimations() 861 exportAnimation->samplers.resize(samplerIndex + 1); in ExportGltfAnimations() 862 exportAnimation->samplers[samplerIndex] = CreateAnimationSampler( in ExportGltfAnimations() 868 exportAnimation->samplers[samplerIndex].get() }); in ExportGltfAnimations() 979 auto const samplerIndex = (sampler) ? textureHelper.GetSamplerIndex(sampler) : 0xFFFFffff; in GetTextureIndex() local 980 return textureHelper.GetTextureIndex(samplerIndex, imageIndex); in GetTextureIndex()
|
H A D | gltf2_loader.cpp | 832 size_t samplerIndex; in TextureSampler() local 833 …if (!ParseOptionalNumber<size_t>(loadResult, samplerIndex, jsonData, "sampler", GLTF_INVALID_INDEX… in TextureSampler() 838 if (samplerIndex != GLTF_INVALID_INDEX) { in TextureSampler() 839 if (samplerIndex < loadResult.data->samplers.size()) { in TextureSampler() 840 sampler = loadResult.data->samplers[samplerIndex].get(); in TextureSampler()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 1904 uint32_t samplerIndex { 0U }; member 2090 wd.descriptorSamplerInfos[dsud.samplerIndex + idx] = { in UpdateCommandListDescriptorSets() 2105 &wd.descriptorSamplerInfos[dsud.samplerIndex], // pImageInfo in UpdateCommandListDescriptorSets() 2109 dsud.samplerIndex += descriptorCount; in UpdateCommandListDescriptorSets()
|