Crimson Engine
1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Toggle main menu visibility
Loading...
Searching...
No Matches
PrimitiveType.hpp
Go to the documentation of this file.
1
#pragma once
2
7
enum class
PrimitiveKind
{
8
Triangle
,
9
Cube
,
10
Quad
11
};
12
17
struct
PrimitiveType
{
19
PrimitiveKind
kind
=
PrimitiveKind::Triangle
;
20
};
PrimitiveKind
PrimitiveKind
Enum representing kinds of supported geometric primitives.
Definition
PrimitiveType.hpp:7
PrimitiveKind::Triangle
@ Triangle
Definition
PrimitiveType.hpp:8
PrimitiveKind::Cube
@ Cube
Definition
PrimitiveType.hpp:9
PrimitiveKind::Quad
@ Quad
Definition
PrimitiveType.hpp:10
PrimitiveType
Component containing the primitive kind configuration of an entity.
Definition
PrimitiveType.hpp:17
PrimitiveType::kind
PrimitiveKind kind
The kind of geometric primitive.
Definition
PrimitiveType.hpp:19
engine
include
ecs
components
PrimitiveType.hpp
Generated by
1.17.0