Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iMeshDrawCallback Struct Reference

Set a callback which is called just before the object is drawn. More...

#include <mesh.h>

Inheritance diagram for iMeshDrawCallback:

iBase List of all members.

Public Methods

virtual bool BeforeDrawing (iMeshWrapper *spr, iRenderView *rview)=0
 Before drawing.


Detailed Description

Set a callback which is called just before the object is drawn.

This is useful to do some expensive computations which only need to be done on a visible object. Note that this function will be called even if the object is not visible. In general it is called if there is a likely probability that the object is visible (i.e. it is in the same sector as the camera for example).


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000