implement custom uniforms for material shaders

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-08 06:07:29 -03:00 committed by Nash Muhandes
commit ea09ae1461
13 changed files with 406 additions and 299 deletions

View file

@ -101,6 +101,7 @@ protected:
bool mDepthClamp = true;
VulkanCommandBuffer *mCommandBuffer = nullptr;
VkPipelineKey mPipelineKey = {};
UniformStructHolder mUniforms;
VkRenderPassSetup* mPassSetup = nullptr;
int mClearTargets = 0;
bool mNeedApply = true;