Assimp  v4.1. (December 2018)
glTFImporter.cpp File Reference

Functions

aiNodeImportNode (aiScene *pScene, glTF::Asset &r, std::vector< unsigned int > &meshOffsets, glTF::Ref< glTF::Node > &ptr)
 
static void SetFace (aiFace &face, int a)
 
static void SetFace (aiFace &face, int a, int b)
 
static void SetFace (aiFace &face, int a, int b, int c)
 
void SetMaterialColorProperty (std::vector< int > &embeddedTexIdxs, Asset &, glTF::TexProperty prop, aiMaterial *mat, aiTextureType texType, const char *pKey, unsigned int type, unsigned int idx)
 

Variables

static const aiImporterDesc desc
 

Function Documentation

◆ ImportNode()

aiNode* ImportNode ( aiScene pScene,
glTF::Asset r,
std::vector< unsigned int > &  meshOffsets,
glTF::Ref< glTF::Node > &  ptr 
)

◆ SetFace() [1/3]

static void SetFace ( aiFace face,
int  a 
)
inlinestatic

◆ SetFace() [2/3]

static void SetFace ( aiFace face,
int  a,
int  b 
)
inlinestatic

◆ SetFace() [3/3]

static void SetFace ( aiFace face,
int  a,
int  b,
int  c 
)
inlinestatic

◆ SetMaterialColorProperty()

void SetMaterialColorProperty ( std::vector< int > &  embeddedTexIdxs,
Asset ,
glTF::TexProperty  prop,
aiMaterial mat,
aiTextureType  texType,
const char *  pKey,
unsigned int  type,
unsigned int  idx 
)
inline

Variable Documentation

◆ desc

const aiImporterDesc desc
static
Initial value:
= {
"glTF Importer",
"",
"",
"",
0,
0,
0,
0,
"gltf glb"
}
@ aiImporterFlags_SupportTextFlavour
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:58
@ aiImporterFlags_LimitedSupport
Indicates that the importer reads only a very particular subset of the file format.
Definition: importerdesc.h:72
@ aiImporterFlags_SupportCompressedFlavour
Indicates that there is a compressed encoding of the file format; and that it is supported.
Definition: importerdesc.h:66
@ aiImporterFlags_SupportBinaryFlavour
Indicates that there is a binary encoding of the file format; and that it is supported.
Definition: importerdesc.h:62
@ aiImporterFlags_Experimental
Indicates that the importer is highly experimental and should be used with care.
Definition: importerdesc.h:78