20#include "../variant/typedarray.h"
21#include "../object/object.h"
76 const std::shared_ptr<ArrayBuffer>&
buffer,
ArrayIndices(Indices::Mode mode, int count, int first=0, int primCount=0)
int first
Definition indices.h:60
The ElementIndices class represents a indices buffer, which is a block of memory that stores the inde...
Definition indices.h:70
std::shared_ptr< ArrayBuffer > buffer
Definition indices.h:72
ElementIndices(Indices::Mode mode, const std::shared_ptr< ArrayBuffer > &buffer, int count, int offset=0, int primCount=0)
int offset
Definition indices.h:73
The Indices class represents the connecting relationship between vertices.
Definition indices.h:29
std::string m_className
Definition indices.h:31
Mode
The Mode enumeration defines identifiers corresponding to different ways of rendering geometric primi...
Definition indices.h:36
int primCount
Definition indices.h:48
const std::string & className() const
Mode mode
This member stores the primitive mode of this Indices object.
Definition indices.h:46
Indices(Indices::Mode mode, int count, int primCount)
int count
This member stores the count of the primitive in this Indices object.
Definition indices.h:47