hx3d
1
2D/3D Simple Game Framework
|
Three centered axis VBO geometry. More...
#include <origin_geometry.hpp>
Additional Inherited Members | |
![]() | |
virtual void | draw (Ptr< Shader > shader) override |
Draw the geometry. More... | |
![]() | |
void | addAttribute (std::string name, Attribute attribute) |
Add an attribute. More... | |
void | setAttribute (std::string name, std::vector< float > values) |
Set an attribute with values. More... | |
AttributeArrayBuffer & | getAttribute (std::string name) |
Get an attribute array buffer. More... | |
void | setIndices (std::vector< GLushort > values) |
Set the indices. More... | |
IndexArrayBuffer & | getIndices () |
Get the index array buffer. More... | |
void | setFaceCulling (Culling culling) |
Set the culling type. More... | |
void | uploadAll () |
Upload all the buffers to the GPU. | |
![]() | |
std::map< std::string, AttributeArrayBuffer > | _attributes |
Attributes map. | |
IndexArrayBuffer | _indices |
Index array buffer. | |
Culling | _cullingType |
Current culling. | |
Three centered axis VBO geometry.
Definition at line 35 of file origin_geometry.hpp.