diff --git a/servers/rendering/rendering_device_commons.h b/servers/rendering/rendering_device_commons.h index 688a6441a7b0..591752bc0ea8 100644 --- a/servers/rendering/rendering_device_commons.h +++ b/servers/rendering/rendering_device_commons.h @@ -878,6 +878,7 @@ class RenderingDeviceCommons : public Object { static const char *SHADER_STAGE_NAMES[SHADER_STAGE_MAX]; +public: struct ShaderUniform { UniformType type = UniformType::UNIFORM_TYPE_MAX; bool writable = false; @@ -925,6 +926,7 @@ class RenderingDeviceCommons : public Object { Vector stages; }; +protected: struct ShaderReflection : public ShaderDescription { BitField stages; BitField push_constant_stages;