21 #ifndef HX3D_GRAPHICS_GEOMETRIES_BASEGEOMETRY 22 #define HX3D_GRAPHICS_GEOMETRIES_BASEGEOMETRY 24 #include "hx3d/graphics/buffers/attribute_array_buffer.hpp" 25 #include "hx3d/graphics/buffers/index_array_buffer.hpp" 26 #include "hx3d/graphics/shader.hpp" 64 void addAttribute(std::string name,
Attribute attribute);
72 void setAttribute(std::string name, std::vector<float> values);
88 void setIndices(std::vector<GLushort> values);
102 void setFaceCulling(
Culling culling);
std::map< std::string, AttributeArrayBuffer > _attributes
Attributes map.
CounterClockwise culling: back face.
Culling _cullingType
Current culling.
IndexArrayBuffer _indices
Index array buffer.
Culling
Face culling type.
Attribute specialized array buffer.
Clockwise culling: front face.
Base geometry. Must be inherited.
std::shared_ptr< T > Ptr
Quick-typing shared ptr.