Primitives array description. More...
#include <primitives_array.h>
Public Member Functions | |
Construction | |
PrimitivesArray () | |
Construct a null instance. More... | |
PrimitivesArray (GraphicContext &gc) | |
Constructs a PrimitivesArray. More... | |
~PrimitivesArray () | |
Attributes | |
bool | is_null () const |
Returns true if this object is invalid. More... | |
void | throw_if_null () const |
Throw an exception if this object is invalid. More... | |
PrimitivesArrayProvider * | get_provider () const |
Returns the target provider for the primitives array. More... | |
Operations | |
void | set_attributes (int index, VertexArrayBuffer &buffer, int size, VertexAttributeDataType type, size_t offset=0, int stride=0, bool normalize=false) |
Set attributes. More... | |
void | set_attributes (int index, VertexArrayVector< unsigned char > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< char > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< unsigned short > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< short > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< unsigned int > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< int > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< float > &buffer, int size, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< unsigned char > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< signed char > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< unsigned short > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< signed short > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< unsigned int > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< signed int > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< float > &buffer) |
void | set_attributes (int index, VertexArrayVector< Vec2ub > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2b > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2us > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2s > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2ui > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2i > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec2f > &buffer) |
void | set_attributes (int index, VertexArrayVector< Vec3ub > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3b > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3us > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3s > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3ui > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3i > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec3f > &buffer) |
void | set_attributes (int index, VertexArrayVector< Vec4ub > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4b > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4us > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4s > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4ui > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4i > &buffer, bool normalize=false) |
void | set_attributes (int index, VertexArrayVector< Vec4f > &buffer) |
void | set_attributes (int index, VertexArrayVector< Colorf > &buffer) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, unsigned char *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, signed char *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, unsigned short *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, signed short *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, unsigned int *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, signed int *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, float *member_offset) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2ub *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2b *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2us *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2s *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2ui *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2i *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec2f *member_offset) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3ub *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3b *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3us *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3s *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3ui *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3i *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec3f *member_offset) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4ub *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4b *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4us *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4s *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4ui *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4i *member_offset, bool normalize=false) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Vec4f *member_offset) |
template<typename Type > | |
void | set_attributes (int index, VertexArrayVector< Type > &buffer, Colorf *member_offset) |
Primitives array description.