|
static void | BuildVertexWeightMapping (Mesh::Primitive &primitive, std::vector< std::vector< aiVertexWeight >> &map) |
|
static aiTextureMapMode | ConvertWrappingMode (SamplerWrap gltfWrapMode) |
|
aiNodeAnim * | CreateNodeAnim (glTF2::Asset &r, Node &node, AnimationSamplers &samplers) |
|
std::unordered_map< unsigned int, AnimationSamplers > | GatherSamplers (Animation &anim) |
|
static std::string | GetNodeName (const Node &node) |
|
static void | GetNodeTransform (aiMatrix4x4 &matrix, const glTF2::Node &node) |
|
static aiMaterial * | ImportMaterial (std::vector< int > &embeddedTexIdxs, Asset &r, Material &mat) |
|
aiNode * | ImportNode (aiScene *pScene, glTF2::Asset &r, std::vector< unsigned int > &meshOffsets, glTF2::Ref< glTF2::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 (Asset &, vec3 &prop, aiMaterial *mat, const char *pKey, unsigned int type, unsigned int idx) |
|
void | SetMaterialColorProperty (Asset &, vec4 &prop, aiMaterial *mat, const char *pKey, unsigned int type, unsigned int idx) |
|
void | SetMaterialTextureProperty (std::vector< int > &embeddedTexIdxs, Asset &, glTF2::TextureInfo prop, aiMaterial *mat, aiTextureType texType, unsigned int texSlot=0) |
|
void | SetMaterialTextureProperty (std::vector< int > &embeddedTexIdxs, Asset &r, glTF2::NormalTextureInfo &prop, aiMaterial *mat, aiTextureType texType, unsigned int texSlot=0) |
|
void | SetMaterialTextureProperty (std::vector< int > &embeddedTexIdxs, Asset &r, glTF2::OcclusionTextureInfo &prop, aiMaterial *mat, aiTextureType texType, unsigned int texSlot=0) |
|