准备增加MaterialLibrary

This commit is contained in:
2025-05-05 03:25:19 +08:00
parent 2b251f06d4
commit 9be5de0f57
8 changed files with 174 additions and 15 deletions

View File

@@ -1,17 +1,14 @@
#pragma once
#include<hgl/TypeFunc.h>
namespace hgl
namespace hgl::graph
{
namespace graph
enum class CoordinateSystem2D
{
enum class CoordinateSystem2D
{
NDC,
ZeroToOne, //左上角为0,0右下角为1,1
Ortho, //左上角为0,0右下角为(width-1),(height-1)
NDC,
ZeroToOne, //左上角为0,0右下角为1,1
Ortho, //左上角为0,0右下角为(width-1),(height-1)
ENUM_CLASS_RANGE(NDC,Ortho)
};
}//namespace graph
}//namespace hgl
ENUM_CLASS_RANGE(NDC,Ortho)
};
}//namespace hgl::graph