ModelIO

*

Members

Static functions

loadModel
Model loadModel(string path)

* Load a model into memory using a file with .obj extension. * Indices are stored into the internal vertex buffer object static array. * Returns newly created model.

loadRawModel
RawModel loadRawModel(VERTEX[] data, uint[] indices)

Load a raw model into memory using vertex data and indices. Indices are stored into the internal vertex buffer object static array. Returns newly created raw model.

loadRawModel
RawModel loadRawModel(VERTEX[] data)

Load a raw model into memory using vertex data. Returns newly created raw model.

Meta