moved GizmoColor/GizmoShape to Gizmo.h

This commit is contained in:
2024-07-10 00:35:57 +08:00
parent 390bd14c7c
commit 69b9556ca1
3 changed files with 32 additions and 27 deletions

View File

@@ -4,6 +4,31 @@
VK_NAMESPACE_BEGIN
enum class GizmoColor:uint
{
Black=0,
White,
Red,
Green,
Blue,
Yellow,
ENUM_CLASS_RANGE(Black,Yellow)
};
enum class GizmoShape:uint
{
Plane=0, //平面
Cube, //立方体
Sphere, //球
Cone, //圆锥
Cylinder, //圆柱
ENUM_CLASS_RANGE(Plane,Cylinder)
};
bool InitGizmoResource(GPUDevice *);
void FreeGizmoResource();