Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp339 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 Dgltf2_loader.cpp832 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 Drender_backend_vk.cpp1904 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()