Assimp
v4.1. (December 2018)
|
A view into a buffer generally representing a subset of the buffer. More...
Inherits glTF2::Object.
Public Member Functions | |
void | Read (Value &obj, Asset &r) |
The target that the WebGL buffer should be bound to. More... | |
![]() | |
virtual bool | IsSpecial () const |
Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
virtual | ~Object () |
Public Attributes | |
Ref< Buffer > | buffer |
size_t | byteLength |
The offset into the buffer in bytes. (required) More... | |
size_t | byteOffset |
The ID of the buffer. (required) More... | |
unsigned int | byteStride |
The length of the bufferView in bytes. (default: 0) More... | |
BufferViewTarget | target |
![]() | |
std::string | id |
The globally unique ID used to reference this object. More... | |
int | index |
The index of this object within its property container. More... | |
std::string | name |
The user-defined name of this object. More... | |
int | oIndex |
The original index of this object defined in the JSON. More... | |
Additional Inherited Members | |
![]() | |
static const char * | TranslateId (Asset &, const char *id) |
Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
A view into a buffer generally representing a subset of the buffer.
The target that the WebGL buffer should be bound to.
size_t glTF2::BufferView::byteLength |
The offset into the buffer in bytes. (required)
size_t glTF2::BufferView::byteOffset |
The ID of the buffer. (required)
unsigned int glTF2::BufferView::byteStride |
The length of the bufferView in bytes. (default: 0)
The stride, in bytes, between attributes referenced by this accessor. (default: 0)
BufferViewTarget glTF2::BufferView::target |