AssimpScene

ASSIMP scene wrapper.

Constructors

this
this(Assimp assimp, string path, uint postProcessFlags)

Import mesh from a file. The ASSIMP library must have been loaded.

this
this(Assimp assimp, ubyte[] data, uint postProcessFlags)

Import mesh from a memory area. The ASSIMP library must have been loaded.

this
this(Assimp assimp, ubyte[] data, aiPropertyStore* props, uint postProcessFlags)

Import mesh from a memory area using specified import properties. The ASSIMP library must have been loaded.

Destructor

~this
~this()

Releases the ASSIMP scene resource.

Members

Functions

applyPostProcessing
void applyPostProcessing(uint postProcessFlags)

Apply post-processing separately, to separate loading from post-processing.

scene
const(aiScene)* scene()

Meta