材质参数转移
This commit is contained in:
parent
0365c37fdf
commit
269615b206
@ -74,14 +74,6 @@ namespace hgl
|
|||||||
|
|
||||||
// Color4f Color; ///<颜色
|
// Color4f Color; ///<颜色
|
||||||
//
|
//
|
||||||
// uint draw_face; ///<绘制的面
|
|
||||||
// uint fill_mode; ///<填充方式
|
|
||||||
//
|
|
||||||
// uint cull_face; ///<裁剪面,0:不裁(双面材质),FACE_FRONT:正面,FACE_BACK:背面
|
|
||||||
//
|
|
||||||
// bool depth_test; ///<深度测试
|
|
||||||
// uint depth_func; ///<深度处理方式
|
|
||||||
// bool depth_mask; ///<深度遮罩
|
|
||||||
//
|
//
|
||||||
// float alpha_test; ///<alpha测试值,0:全部不显示,1:全部显示
|
// float alpha_test; ///<alpha测试值,0:全部不显示,1:全部显示
|
||||||
//
|
//
|
||||||
|
@ -42,6 +42,14 @@ namespace hgl
|
|||||||
Color4f clear_color;
|
Color4f clear_color;
|
||||||
|
|
||||||
DepthStatus depth;
|
DepthStatus depth;
|
||||||
|
// uint draw_face; ///<绘制的面
|
||||||
|
// uint fill_mode; ///<填充方式
|
||||||
|
//
|
||||||
|
// uint cull_face; ///<裁剪面,0:不裁(双面材质),FACE_FRONT:正面,FACE_BACK:背面
|
||||||
|
//
|
||||||
|
// bool depth_test; ///<深度测试
|
||||||
|
// uint depth_func; ///<深度处理方式
|
||||||
|
// bool depth_mask; ///<深度遮罩
|
||||||
};//class RenderStatus
|
};//class RenderStatus
|
||||||
}//namespace hgl
|
}//namespace hgl
|
||||||
#endif//HGL_RENDER_STATUS_INCLUDE
|
#endif//HGL_RENDER_STATUS_INCLUDE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user