Searched refs:lightIndex (Results 1 – 3 of 3) sorted by relevance
1992 size_t lightIndex; in PrimitiveAttributes() member2016 if (data.lightIndex == GLTF_INVALID_INDEX) { in PrimitiveAttributes()2022 if (data.lightIndex != GLTF_INVALID_INDEX) { in PrimitiveAttributes()2023 data.lightIndex += loadResult.data->pbrLightOffset; in PrimitiveAttributes()2134 if (extensionData->lightIndex != GLTF_INVALID_INDEX) { in PrimitiveAttributes()2198 size_t lightIndex = GLTF_INVALID_INDEX; in PrimitiveAttributes() local2208 if (lightIndex == GLTF_INVALID_INDEX) { in PrimitiveAttributes()2213 } else if (lightIndex != GLTF_INVALID_INDEX) { in PrimitiveAttributes()2233 if (lightIndex != GLTF_INVALID_INDEX) { in PrimitiveAttributes()2234 if (lightIndex < loadResult.data->lights.size()) { in PrimitiveAttributes()[all …]
2129 if (lightIndex != GLTF2::GLTF_INVALID_INDEX && lightIndex < data.imageBasedLights.size()) { in CreateEnvironmentComponent()2135 GLTF2::ImageBasedLight* light = data.imageBasedLights[lightIndex].get(); in CreateEnvironmentComponent()2154 if (lightIndex < gltfResourceData.specularRadianceCubemaps.size() && in CreateEnvironmentComponent()2155 EntityUtil::IsValid(gltfResourceData.specularRadianceCubemaps[lightIndex])) { in CreateEnvironmentComponent()2345 const size_t lightIndex = scene->imageBasedLightIndex; in ImportScene() local2347 const size_t lightIndex = 0; // Not used. in ImportScene()2350 device.GetGpuResourceManager(), data, gltfResourceData, ecs, sceneEntity, lightIndex); in ImportScene()3198 for (size_t lightIndex = 0; lightIndex < data_->imageBasedLights.size(); ++lightIndex) { in PrepareImageBasedLightTasks() local3199 const auto& light = data_->imageBasedLights[lightIndex]; in PrepareImageBasedLightTasks()3233 task->import = [this, lightIndex, t = task.get()]() -> bool { in PrepareImageBasedLightTasks()[all …]
2374 …if (auto const lightIndex = FindOrAddIndex(entities.withLight, nodeEntity); lightIndex < lightArra… in AttachLight() local2375 exportNode.light = lightArray[lightIndex].get(); in AttachLight()