Make ShaderDescription and related types public

This commit is contained in:
Pedro J. Estébanez 2024-03-08 09:55:44 +01:00
parent aef11a1427
commit 560e79c67f

View file

@ -878,6 +878,7 @@ protected:
static const char *SHADER_STAGE_NAMES[SHADER_STAGE_MAX]; static const char *SHADER_STAGE_NAMES[SHADER_STAGE_MAX];
public:
struct ShaderUniform { struct ShaderUniform {
UniformType type = UniformType::UNIFORM_TYPE_MAX; UniformType type = UniformType::UNIFORM_TYPE_MAX;
bool writable = false; bool writable = false;
@ -925,6 +926,7 @@ protected:
Vector<ShaderStage> stages; Vector<ShaderStage> stages;
}; };
protected:
struct ShaderReflection : public ShaderDescription { struct ShaderReflection : public ShaderDescription {
BitField<ShaderStage> stages; BitField<ShaderStage> stages;
BitField<ShaderStage> push_constant_stages; BitField<ShaderStage> push_constant_stages;