add VertexAttribName

This commit is contained in:
hyzboy 2020-07-13 22:16:38 +08:00
parent b7e2cb7018
commit e9eda440a9

View File

@ -7,6 +7,18 @@ namespace hgl
{ {
namespace graph namespace graph
{ {
namespace VertexAttribName
{
#define VAN_DEFINE(name) constexpr char name[]=#name;
VAN_DEFINE(Vertex)
VAN_DEFINE(Normal)
VAN_DEFINE(Color)
VAN_DEFINE(Tangent)
VAN_DEFINE(Bitangent)
VAN_DEFINE(TexCoord)
#undef VAN_DEFINE
}//namespace VertexAttribName
/** /**
* *
*/ */