28 #ifndef ROCKETCOREGEOMETRY_H
29 #define ROCKETCOREGEOMETRY_H
39 class RenderInterface;
57 void SetHostElement(
Element* host_element);
61 void Render(
const Vector2f& translation);
65 std::vector< Vertex >& GetVertices();
68 std::vector< int >& GetIndices();
72 const Texture* GetTexture()
const;
74 void SetTexture(
const Texture* texture);
78 void Release(
bool clear_buffers =
false);
87 std::vector< Vertex > vertices;
88 std::vector< int > indices;
92 bool compile_attempted;
#define NULL
Definition: Types.h:33
ROCKETCORE_API RenderInterface * GetRenderInterface()
Definition: Geometry.h:48
Definition: Clipboard.h:33
uintptr_t CompiledGeometryHandle
Definition: Types.h:86
std::vector< Geometry > GeometryList
Definition: Geometry.h:96
Definition: RenderInterface.h:48