hx3d  1
2D/3D Simple Game Framework
List of all members
hx3d::graphics::geom::StarGeometry Class Reference

Star shape VBO geometry. More...

#include <star_geometry.hpp>

Additional Inherited Members

- Public Member Functions inherited from hx3d::graphics::geom::Geometry
virtual void draw (Ptr< Shader > shader) override
 Draw the geometry. More...
 
- Public Member Functions inherited from hx3d::graphics::geom::BaseGeometry
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.
 
- Protected Attributes inherited from hx3d::graphics::geom::BaseGeometry
std::map< std::string, AttributeArrayBuffer > _attributes
 Attributes map.
 
IndexArrayBuffer _indices
 Index array buffer.
 
Culling _cullingType
 Current culling.
 

Detailed Description

Star shape VBO geometry.

Definition at line 33 of file star_geometry.hpp.


The documentation for this class was generated from the following files: