The ElementIndices class represents a indices buffer, which is a block of memory that stores the index data of a Geometry. More...
#include <indices.h>
Public Member Functions | |
| ElementIndices (Indices::Mode mode, const ArrayBufferPtr &buffer, int count, int offset=0, int primCount=0) | |
Public Member Functions inherited from cil::Indices | |
| Indices (Indices::Mode mode, int count, int primCount) | |
| const std::string & | className () const |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| ArrayBufferPtr | buffer |
| int | offset |
Public Attributes inherited from cil::Indices | |
| Mode | mode |
| This member stores the primitive mode of this Indices object. | |
| int | count |
| This member stores the count of the primitive in this Indices object. | |
| int | primCount |
Additional Inherited Members | |
Public Types inherited from cil::Indices | |
| enum class | Mode { TRIANGLES , TRIANGLE_FAN , TRIANGLE_STRIP , LINES , LINE_LOOP , LINE_STRIP , POINTS } |
| The Mode enumeration defines identifiers corresponding to different ways of rendering geometric primitives in a 3D graphics application. More... | |
Protected Attributes inherited from cil::Indices | |
| std::string | m_className |
The ElementIndices class represents a indices buffer, which is a block of memory that stores the index data of a Geometry.
| cil::ElementIndices::ElementIndices | ( | Indices::Mode | mode, |
| const ArrayBufferPtr & | buffer, | ||
| int | count, | ||
| int | offset = 0, | ||
| int | primCount = 0 ) |
| ArrayBufferPtr cil::ElementIndices::buffer |
| int cil::ElementIndices::offset |