ULRE/example/Gizmo/Gizmo.h

39 lines
522 B
C
Raw Normal View History

2024-06-25 01:17:47 +08:00
#pragma once
2023-11-02 18:51:02 +08:00
#include<hgl/graph/VK.h>
VK_NAMESPACE_BEGIN
2024-07-10 00:35:57 +08:00
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(RenderResource *);
2024-07-01 23:31:18 +08:00
void FreeGizmoResource();
2023-11-02 18:51:02 +08:00
StaticMesh *GetGizmoMoveStaticMesh();
2023-11-02 18:51:02 +08:00
VK_NAMESPACE_END