Proof of concept
This commit is contained in:
@@ -73,6 +73,11 @@ namespace Nz
|
||||
return InvalidIndex;
|
||||
}
|
||||
|
||||
inline std::size_t MaterialSettings::GetPredefinedBinding(PredefinedShaderBinding shaderBinding) const
|
||||
{
|
||||
return m_data.predefinedBindings[UnderlyingCast(shaderBinding)];
|
||||
}
|
||||
|
||||
inline const std::shared_ptr<RenderPipelineLayout>& MaterialSettings::GetRenderPipelineLayout() const
|
||||
{
|
||||
return m_pipelineLayout;
|
||||
@@ -190,6 +195,11 @@ namespace Nz
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
inline MaterialSettings::Builder::Builder()
|
||||
{
|
||||
predefinedBindings.fill(InvalidIndex);
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Graphics/DebugOff.hpp>
|
||||
|
||||
Reference in New Issue
Block a user