Home
last modified time | relevance | path

Searched refs:materialComp (Results 1 - 1 of 1) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp854 const MaterialComponent& materialComp = (matData) ? *matData : DEF_MATERIAL_COMPONENT; in AddSingleMaterial() local
856 InputMaterialUniformsFromMaterialComponent(material, materialComp); in AddSingleMaterial()
859 if (materialComp.customProperties) { in AddSingleMaterial()
860 const auto buffer = static_cast<const uint8_t*>(materialComp.customProperties->RLock()); in AddSingleMaterial()
863 customData = array_view(buffer, materialComp.customProperties->Size()); in AddSingleMaterial()
864 materialComp.customProperties->RUnlock(); in AddSingleMaterial()
869 if (!materialComp.customResources.empty()) { in AddSingleMaterial()
871 const size_t maxCount = Math::min(static_cast<size_t>(materialComp.customResources.size()), in AddSingleMaterial()
874 GetRenderHandleReferences(renderHandleMgr, materialComp.customResources, handles); in AddSingleMaterial()
891 MaterialHandles(materialComp, renderHandleMg in AddSingleMaterial()
[all...]

Completed in 5 milliseconds