20#include "../object/object.h"
21#include "../variant/types.h"
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
ArrayBufferPtr buffer
Definition indices.h:72
int offset
Definition indices.h:73
ElementIndices(Indices::Mode mode, const ArrayBufferPtr &buffer, int count, int offset=0, int primCount=0)
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
std::shared_ptr< ArrayBuffer > ArrayBufferPtr
Definition types.h:102