Make ShaderDescription and related types public
This commit is contained in:
parent
aef11a1427
commit
560e79c67f
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue