added a standard material that it's VertexColor2DNDC.

This commit is contained in:
2023-03-21 21:01:16 +08:00
parent d26cae0086
commit 8bf1ad2a46
6 changed files with 190 additions and 136 deletions

View 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

View 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