added a standard material that it's VertexColor2DNDC.
This commit is contained in:
17
inc/hgl/graph/mtl/2d/VertexColor2DNDC.h
Normal file
17
inc/hgl/graph/mtl/2d/VertexColor2DNDC.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef HGL_GRAPH_MTL_2D_VERTEX2DNDC_INCLUDE
|
||||
#define HGL_GRAPH_MTL_2D_VERTEX2DNDC_INCLUDE
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
namespace graph
|
||||
{
|
||||
class MaterialCreateInfo;
|
||||
|
||||
namespace mtl
|
||||
{
|
||||
MaterialCreateInfo *CreateVertexColor2DNDC();
|
||||
}//namespace mtl
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
|
||||
#endif//HGL_GRAPH_MTL_2D_VERTEX2DNDC_INCLUDE
|
6
inc/hgl/graph/mtl/StdMaterial.h
Normal file
6
inc/hgl/graph/mtl/StdMaterial.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#define STD_MTL_NAMESPACE_BEGIN namespace hgl{namespace graph{namespace mtl{
|
||||
#define STD_MTL_NAMESPACE_END }}}
|
||||
|
||||
#define STD_MTL_NAMESPACE_USING using namespace hgl::graph::mtl
|
Reference in New Issue
Block a user