25 Vertex* vertexData =
nullptr;
26 unsigned int vertexNr = 0;
28 unsigned int* indexData =
nullptr;
29 unsigned int indexNr = 0;
Interface for renderable 2D geometry.
Definition: Geometry2D.hpp:13
A renderable 2D rectangle.
Definition: Rectangle.hpp:8
~Rectangle() final
Destructor.
Definition: Rectangle.cpp:31
const Vertex * GetVertices() const final
Get all the vertices.
Definition: Rectangle.cpp:36
unsigned int GetVertexCount() const final
Get the number of vertices.
Definition: Rectangle.cpp:40
Rectangle(LowLevelRenderer *lowLevelRenderer)
Create new rectangle.
Definition: Rectangle.cpp:6
const unsigned int * GetIndices() const final
Get all the vertex indices.
Definition: Rectangle.cpp:44
unsigned int GetIndexCount() const final
Get the number of indicies.
Definition: Rectangle.cpp:48
Low level renderer abstracting the underlaying graphics API (OpenGL or Vulkan).
Definition: LowLevelRenderer.hpp:27
Definition: AssetEditor.hpp:5
Definition: Editor.hpp:18
A vertex point.
Definition: Geometry2D.hpp:16