Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iDrawFuncCallback Struct Reference

A callback function for csEngine::DrawFunc(). More...

#include <engine.h>

Inheritance diagram for iDrawFuncCallback:

iBase List of all members.

Public Methods

virtual void DrawFunc (iRenderView *rview, int type, void *entity)=0
 Before drawing. More...

Detailed Description

A callback function for csEngine::DrawFunc().

Member Function Documentation

void iDrawFuncCallback::DrawFunc ( iRenderView * rview,
int type,
void * entity ) [pure virtual]

Before drawing.

The 'type' will be one of the following:

  • CS_CALLBACK_SECTOR: a sector is being drawn.
  • CS_CALLBACK_SECTOREXIT: a sector has been drawn completely.
  • CS_CALLBACK_MESH: a mesh will be drawn if visible.
  • CS_CALLBACK_VISMESH: the mesh is visible and will be drawn.

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