增加Axis,BlendMode,Light,Material等定义

This commit is contained in:
2018-11-30 20:04:00 +08:00
parent 8ea38d734d
commit d1322a9f97
5 changed files with 223 additions and 0 deletions

21
inc/hgl/graph/BlendMode.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef HGL_GRAPH_BLEND_MODE_INCLUDE
#define HGL_GRAPH_BLEND_MODE_INCLUDE
namespace hgl
{
namespace graph
{
/**
* 混合模式数据结构
*/
struct BlendMode ///混合模式
{
struct
{
unsigned int src,dst; ///<混合因子
unsigned int func; ///<混合方式
}rgb,alpha;
};//struct BlendMode
//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_BLEND_MODE_INCLUDE