Graphics: Add MaterialPassRegistry
This commit is contained in:
@@ -621,13 +621,17 @@ namespace Nz
|
||||
|
||||
inline void MaterialPass::InvalidatePipeline()
|
||||
{
|
||||
m_forceCommandBufferRegeneration = true;
|
||||
m_pipelineUpdated = false;
|
||||
|
||||
OnMaterialInvalidated(this);
|
||||
}
|
||||
|
||||
inline void MaterialPass::InvalidateShaderBinding()
|
||||
{
|
||||
m_forceCommandBufferRegeneration = true;
|
||||
m_shaderBindingUpdated = false;
|
||||
|
||||
OnMaterialInvalidated(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user