mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Make ShaderDescription and related types public
This commit is contained in:
parent
aef11a1427
commit
560e79c67f
@ -878,6 +878,7 @@ protected:
|
||||
|
||||
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 @@ protected:
|
||||
Vector<ShaderStage> stages;
|
||||
};
|
||||
|
||||
protected:
|
||||
struct ShaderReflection : public ShaderDescription {
|
||||
BitField<ShaderStage> stages;
|
||||
BitField<ShaderStage> push_constant_stages;
|
||||
|
Loading…
Reference in New Issue
Block a user