A typed view into a BufferView.
More...
Inherits glTF::Object.
|
static const char * | TranslateId (Asset &r, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
|
|
A typed view into a BufferView.
A BufferView contains raw binary data. An accessor provides a typed view into a BufferView or a subset of a BufferView
glTF::Accessor::Accessor |
( |
| ) |
|
|
inline |
template<class T >
bool glTF::Accessor::ExtractData |
( |
T *& |
outData | ) |
|
unsigned int glTF::Accessor::GetBytesPerComponent |
( |
| ) |
|
|
inline |
unsigned int glTF::Accessor::GetElementSize |
( |
| ) |
|
|
inline |
Indexer glTF::Accessor::GetIndexer |
( |
| ) |
|
|
inline |
unsigned int glTF::Accessor::GetNumComponents |
( |
| ) |
|
|
inline |
uint8_t * glTF::Accessor::GetPointer |
( |
| ) |
|
|
inline |
void glTF::Accessor::WriteData |
( |
size_t |
count, |
|
|
const void * |
src_buffer, |
|
|
size_t |
src_stride |
|
) |
| |
|
inline |
The ID of the bufferView. (required)
unsigned int glTF::Accessor::byteOffset |
The offset relative to the start of the bufferView in bytes. (required)
unsigned int glTF::Accessor::byteStride |
The stride, in bytes, between attributes referenced by this accessor. (default: 0)
The datatype of components in the attribute. (required)
unsigned int glTF::Accessor::count |
The number of attributes referenced by this accessor. (required)
Specifies if the attribute is a scalar, vector, or matrix. (required)
The documentation for this struct was generated from the following files: