Assimp
v4.1. (December 2018)
|
A texture and its sampler. More...
Inherits glTF::Object.
Public Member Functions | |
void | Read (Value &obj, Asset &r) |
Texture () | |
![]() | |
virtual bool | IsSpecial () const |
Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
virtual | ~Object () |
Public Attributes | |
Ref< Sampler > | sampler |
The ID of the sampler used by this texture. (required) More... | |
Ref< Image > | source |
The ID of the image used by this texture. (required) More... | |
![]() | |
std::string | id |
The globally unique ID used to reference this object. More... | |
std::string | name |
The user-defined name of this object. 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 texture and its sampler.
|
inline |