|
Assimp v3.1.1 (June 2014)
|
A buffer points to binary geometry, animation, or skins. More...
#include <glTFAsset.h>
Inherits glTF::Object.
Public Types | |
| enum | Type { Type_arraybuffer , Type_text } |
Public Member Functions | |
| size_t | AppendData (uint8_t *data, size_t length) |
| Buffer () | |
| uint8_t * | GetPointer () |
| void | Grow (size_t amount) |
| bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
| bool | LoadFromStream (IOStream &stream, size_t length=0, size_t baseOffset=0) |
| void | MarkAsSpecial () |
| void | Read (Value &obj, Asset &r) |
Public Member Functions inherited from glTF::Object | |
| virtual | ~Object () |
Static Public Member Functions | |
| static const char * | TranslateId (Asset &r, const char *id) |
Static Public Member Functions inherited from 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... | |
Public Attributes | |
| size_t | byteLength |
| The length of the buffer in bytes. (default: 0) More... | |
| Type | type |
Public Attributes inherited from glTF::Object | |
| std::string | id |
| The globally unique ID used to reference this object. More... | |
| std::string | name |
| The user-defined name of this object. More... | |
A buffer points to binary geometry, animation, or skins.
| enum glTF::Buffer::Type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Objects marked as special are not exported (used to emulate the binary body buffer)
Reimplemented from glTF::Object.
|
inline |
|
inline |
|
inlinestatic |
| size_t glTF::Buffer::byteLength |
The length of the buffer in bytes. (default: 0)
| Type glTF::Buffer::type |