RenderStatus改名为RenderState

This commit is contained in:
hyzboy 2019-03-10 22:44:24 +08:00
parent e26d56907a
commit 485721d298

View File

@ -1,5 +1,5 @@
#ifndef HGL_RENDER_STATUS_INCLUDE #ifndef HGL_RENDER_STATE_INCLUDE
#define HGL_RENDER_STATUS_INCLUDE #define HGL_RENDER_STATE_INCLUDE
#include<hgl/type/Color4f.h> #include<hgl/type/Color4f.h>
#include<hgl/CompOperator.h> #include<hgl/CompOperator.h>
@ -36,7 +36,7 @@ namespace hgl
/** /**
* *
*/ */
struct RenderStatus struct RenderState
{ {
bool color_mask[4]; bool color_mask[4];
Color4f clear_color; Color4f clear_color;
@ -50,6 +50,6 @@ namespace hgl
// bool depth_test; ///<深度测试 // bool depth_test; ///<深度测试
// uint depth_func; ///<深度处理方式 // uint depth_func; ///<深度处理方式
// bool depth_mask; ///<深度遮罩 // bool depth_mask; ///<深度遮罩
};//class RenderStatus };//class RenderState
}//namespace hgl }//namespace hgl
#endif//HGL_RENDER_STATUS_INCLUDE #endif//HGL_RENDER_STATE_INCLUDE