From 560e79c67f89569f44eba00e36ffa1e3714083c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Fri, 8 Mar 2024 09:55:44 +0100 Subject: [PATCH] Make ShaderDescription and related types public --- servers/rendering/rendering_device_commons.h | 2 ++ 1 file changed, 2 insertions(+) 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;