![]() |
ezEngine Release 26.3
|
Classes | |
| struct | MaterialData |
| The material's render data. Accessed via ezMaterialManager::GetMaterialData. More... | |
Static Public Member Functions | |
| static void | MaterialAdded (ezMaterialResource *pMaterial) |
| Called by ezMaterialResource::UpdateContent and ezMaterialResource::CreateResource to add the material to the manager. | |
| static void | MaterialModified (ezMaterialResourceHandle hMaterial) |
| Called by ezMaterialResource::SetModified to inform the material manager of changes. | |
| static void | MaterialRemoved (ezMaterialResource *pMaterial) |
| Called by ezMaterialResource destructor to remove the material from the manager. Note that we don't call this during unload to maintain the material index during reloading of materials. | |
| static const MaterialData * | GetMaterialData (const ezMaterialResource *pMaterial) |
| Returns the render data for a material resource. Can be nullptr if the material is not loaded yet or extraction + update was not executed yet. | |
| static ezGALBindGroupHandle | GetMaterialBindGroup (const ezMaterialResource *pMaterial, ezGALBindGroupLayoutHandle hBindGroupLayout) |
| Returns the bind group for the given material resource and layout. | |
Static Public Attributes | |
| static ezEvent< const ezMaterialShaderChanged &, ezMutex > | s_MaterialShaderChangedEvent |
| Fired in case a material is reloaded and now occupies another index / shader. | |
Friends | |
| class | ezMemoryUtils |