diff options
Diffstat (limited to 'Runtime/Graphics/Shader.h')
-rw-r--r-- | Runtime/Graphics/Shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Runtime/Graphics/Shader.h b/Runtime/Graphics/Shader.h index 3410e20..095d9fe 100644 --- a/Runtime/Graphics/Shader.h +++ b/Runtime/Graphics/Shader.h @@ -6,6 +6,7 @@ #include "Runtime/Utilities/UtilMacros.h"
#include "Runtime/Utilities/Assert.h"
#include "runtime/Debug/Log.h"
+#include "RenderCommands.h"
// 着色器程序
class Shader : public LuaBind::NativeClass<Shader>
@@ -28,6 +29,8 @@ public: private:
void CompileProgram(const char* vert, const char* frag, bool keepSrc = false);
+ RenderCommandGroup m_Commands; // 渲染前的状态设置
+
GLint m_ProgramID;
GLint m_FragID;
GLint m_VertID;
|