Assimp  v4.1. (December 2018)
glTF2::Sampler Struct Reference

Inherits glTF2::Object.

Public Member Functions

void Read (Value &obj, Asset &r)
 
 Sampler ()
 
void SetDefaults ()
 
- Public Member Functions inherited from glTF2::Object
virtual bool IsSpecial () const
 Objects marked as special are not exported (used to emulate the binary body buffer) More...
 
virtual ~Object ()
 

Public Attributes

SamplerMagFilter magFilter
 The texture magnification filter. More...
 
SamplerMinFilter minFilter
 The texture minification filter. More...
 
SamplerWrap wrapS
 The texture wrapping in the S direction. More...
 
SamplerWrap wrapT
 The texture wrapping in the T direction. More...
 
- Public Attributes inherited from glTF2::Object
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 Public Member Functions inherited from glTF2::Object
static const char * TranslateId (Asset &, const char *id)
 Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
 

Constructor & Destructor Documentation

◆ Sampler()

glTF2::Sampler::Sampler ( )
inline

Member Function Documentation

◆ Read()

void glTF2::Sampler::Read ( Value obj,
Asset r 
)
inline

◆ SetDefaults()

void glTF2::Sampler::SetDefaults ( )
inline

Member Data Documentation

◆ magFilter

SamplerMagFilter glTF2::Sampler::magFilter

The texture magnification filter.

◆ minFilter

SamplerMinFilter glTF2::Sampler::minFilter

The texture minification filter.

◆ wrapS

SamplerWrap glTF2::Sampler::wrapS

The texture wrapping in the S direction.

◆ wrapT

SamplerWrap glTF2::Sampler::wrapT

The texture wrapping in the T direction.


The documentation for this struct was generated from the following files: