23 void SubmitCubeGizmo(
const glm::mat4& transform, glm::vec3 size, glm::vec4 color = glm::vec4(1.0f));
24 void SubmitCapsuleGizmo(
const glm::mat4& transform,
float height,
float radius, glm::vec4 color = glm::vec4(1.0f));
25 void SubmitPlaneGizmo(
const glm::mat4& transform, glm::vec3 normal,
float positionAlongNormal, glm::vec4 color = glm::vec4(1.0f));
26 void SubmitSphereGizmo(
const glm::mat4& transform,
float radius, glm::vec4 color = glm::vec4(1.0f));
38 enum class ShapeType {
51 uint32_t vertexOffset;
54 std::array<ShapeMetaData, 7> shapeMetaData;
61 std::vector<GizmoUniformBuffer> dataBuffer;
62 std::vector<ShapeType> drawShapes;
65 inline void AppendData(ShapeType shapeType, uint32_t& currentVertexOffset, uint32_t& currentIndexOffset, uint32_t vertexCount, uint32_t indexCount);