arsa
2.7
|
Interface for writing meshes. More...
#include <IMeshWriter.h>
Public Member Functions | |
virtual | ~IMeshWriter () |
Destructor. More... | |
virtual EMESH_WRITER_TYPE | getType () const =0 |
Get the type of the mesh writer. More... | |
virtual bool | writeMesh (io::IWriteFile *file, scene::IMesh *mesh, s32 flags=EMWF_NONE)=0 |
Write a static mesh. More... | |
Public Member Functions inherited from irr::IReferenceCounted | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from irr::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Interface for writing meshes.
Definition at line 23 of file IMeshWriter.h.
|
inlinevirtual |
|
pure virtual |
Get the type of the mesh writer.
For own implementations, use MAKE_IRR_ID as shown in the EMESH_WRITER_TYPE enumeration to return your own unique mesh type id.
|
pure virtual |
Write a static mesh.
file | File handle to write the mesh to. |
mesh | Pointer to mesh to be written. |
flags | Optional flags to set properties of the writer. |