From 485721d29874b0f205214e08b0636ccecbc53e53 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 10 Mar 2019 22:44:24 +0800 Subject: [PATCH] =?UTF-8?q?RenderStatus=E6=94=B9=E5=90=8D=E4=B8=BARenderSt?= =?UTF-8?q?ate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/graph/{RenderStatus.h => RenderState.h} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename inc/hgl/graph/{RenderStatus.h => RenderState.h} (89%) diff --git a/inc/hgl/graph/RenderStatus.h b/inc/hgl/graph/RenderState.h similarity index 89% rename from inc/hgl/graph/RenderStatus.h rename to inc/hgl/graph/RenderState.h index 3a1f3269..8fe18629 100644 --- a/inc/hgl/graph/RenderStatus.h +++ b/inc/hgl/graph/RenderState.h @@ -1,5 +1,5 @@ -#ifndef HGL_RENDER_STATUS_INCLUDE -#define HGL_RENDER_STATUS_INCLUDE +#ifndef HGL_RENDER_STATE_INCLUDE +#define HGL_RENDER_STATE_INCLUDE #include #include @@ -36,7 +36,7 @@ namespace hgl /** * 渲染状态 */ - struct RenderStatus + struct RenderState { bool color_mask[4]; Color4f clear_color; @@ -50,6 +50,6 @@ namespace hgl // bool depth_test; ///<深度测试 // uint depth_func; ///<深度处理方式 // bool depth_mask; ///<深度遮罩 - };//class RenderStatus + };//class RenderState }//namespace hgl -#endif//HGL_RENDER_STATUS_INCLUDE +#endif//HGL_RENDER_STATE_INCLUDE