Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
Public Member Functions
irr::scene::IMeshWriter Class Reference

Interface for writing meshes. More...

#include <IMeshWriter.h>

Inheritance diagram for irr::scene::IMeshWriter:
irr::IReferenceCounted

List of all members.

Public Member Functions

virtual EMESH_WRITER_TYPE getType () const =0
 Get the type of the mesh writer.
virtual bool writeMesh (io::IWriteFile *file, scene::IMesh *mesh, s32 flags=EMWF_NONE)=0
 Write a static mesh.
virtual ~IMeshWriter ()
 Destructor.
- Public Member Functions inherited from irr::IReferenceCounted
bool drop () const
 Drops the object. Decrements the reference counter by one.
const c8getDebugName () const
 Returns the debug name of the object.
s32 getReferenceCount () const
 Get the reference count.
void grab () const
 Grabs the object. Increments the reference counter by one.
 IReferenceCounted ()
 Constructor.
virtual ~IReferenceCounted ()
 Destructor.

Additional Inherited Members

- Protected Member Functions inherited from irr::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object.

Detailed Description

Interface for writing meshes.

Definition at line 23 of file IMeshWriter.h.


Constructor & Destructor Documentation

virtual irr::scene::IMeshWriter::~IMeshWriter ( )
inlinevirtual

Destructor.

Definition at line 28 of file IMeshWriter.h.


Member Function Documentation

virtual EMESH_WRITER_TYPE irr::scene::IMeshWriter::getType ( ) const
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.

Returns:
Type of the mesh writer.
virtual bool irr::scene::IMeshWriter::writeMesh ( io::IWriteFile file,
scene::IMesh mesh,
s32  flags = EMWF_NONE 
)
pure virtual

Write a static mesh.

Parameters:
fileFile handle to write the mesh to.
meshPointer to mesh to be written.
flagsOptional flags to set properties of the writer.
Returns:
True if sucessful

The documentation for this class was generated from the following file:

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:58:33 by Doxygen (1.8.1)