SMLoader

Constructors

this
this()

Members

Enums

PostProcess
enum PostProcess

process scene before loading, use Assimp3 documentation for more information

Functions

convMesh
SMMesh convMesh(aiMesh* m)
Undocumented in source.
getAllMeshes
SMMesh[] getAllMeshes()
getBitangents
vec3[] getBitangents(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getColors
vec4[][] getColors(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getIndices
uint[] getIndices(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getMesh
SMMesh getMesh(string name)
getMesh
SMMesh getMesh(size_t no)
getNormals
vec3[] getNormals(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getTangents
vec3[] getTangents(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getTexCoords
SMTexCoord[] getTexCoords(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
getVertVectors
vec3[] getVertVectors(aiMesh* m, aiVector3D* buf)
Undocumented in source. Be warned that the author may not have intended to support it.
getVertices
vec3[] getVertices(aiMesh* m)
Undocumented in source. Be warned that the author may not have intended to support it.
loadScene
void loadScene(string fname, PostProcess[] pp)
sourceName
string sourceName()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DES
Undocumented in source.

Variables

default_post_process
PostProcess[] default_post_process;
scene
const(aiScene)* scene;
Undocumented in source.
scene_file_name
string scene_file_name;
Undocumented in source.

Inherited Members

From SMMeshGenerator

getMesh
SMMesh getMesh(string name)

Meta