소스 검색

Make ShaderDescription and related types public

Pedro J. Estébanez 1 년 전
부모
커밋
560e79c67f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      servers/rendering/rendering_device_commons.h

+ 2 - 0
servers/rendering/rendering_device_commons.h

@@ -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;