Assimp  v3.1.1 (June 2014)
glTFImporter.cpp File Reference

Functions

static bool CheckValidFacesIndices (aiFace *faces, unsigned nFaces, unsigned nVerts)
 
static void CopyValue (const glTF::vec4 &v, aiColor4D &out)
 
static void CopyValue (const glTF::vec4 &v, aiColor3D &out)
 
static void CopyValue (const glTF::vec3 &v, aiVector3D &out)
 
static void CopyValue (const glTF::vec4 &v, aiQuaternion &out)
 
static void CopyValue (const glTF::mat4 &v, aiMatrix4x4 &o)
 
aiNode * ImportNode (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 &r, glTF::TexProperty prop, aiMaterial *mat, aiTextureType texType, const char *pKey, unsigned int type, unsigned int idx)
 

Variables

static const aiImporterDesc desc
 

Function Documentation

static bool CheckValidFacesIndices ( aiFace *  faces,
unsigned  nFaces,
unsigned  nVerts 
)
inlinestatic
static void CopyValue ( const glTF::vec4 &  v,
aiColor4D &  out 
)
static
static void CopyValue ( const glTF::vec4 &  v,
aiColor3D &  out 
)
static
static void CopyValue ( const glTF::vec3 &  v,
aiVector3D &  out 
)
static
static void CopyValue ( const glTF::vec4 &  v,
aiQuaternion &  out 
)
static
static void CopyValue ( const glTF::mat4 &  v,
aiMatrix4x4 &  o 
)
static
aiNode* ImportNode ( aiScene *  pScene,
glTF::Asset &  r,
std::vector< unsigned int > &  meshOffsets,
glTF::Ref< glTF::Node > &  ptr 
)
static void SetFace ( aiFace &  face,
int  a 
)
inlinestatic
static void SetFace ( aiFace &  face,
int  a,
int  b 
)
inlinestatic
static void SetFace ( aiFace &  face,
int  a,
int  b,
int  c 
)
inlinestatic
void SetMaterialColorProperty ( std::vector< int > &  embeddedTexIdxs,
Asset &  r,
glTF::TexProperty  prop,
aiMaterial *  mat,
aiTextureType  texType,
const char *  pKey,
unsigned int  type,
unsigned int  idx 
)
inline

Variable Documentation

const aiImporterDesc desc
static
Initial value:
= {
"glTF Importer",
"",
"",
"",
0,
0,
0,
0,
"gltf glb"
}
Indicates that there is a compressed encoding of the file format; and that it is supported.
Definition: importerdesc.h:63
Indicates that the importer is highly experimental and should be used with care.
Definition: importerdesc.h:75
Indicates that the importer reads only a very particular subset of the file format.
Definition: importerdesc.h:69
Indicates that there is a binary encoding of the file format; and that it is supported.
Definition: importerdesc.h:59
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:55