CrystalSpace

Public API Reference

iVisibilityCullerListener Struct Reference
[Visibility]

Implement this interface when you want to get notified about visible objects detected by the visibility cullers. More...

#include <iengine/viscull.h>

Inheritance diagram for iVisibilityCullerListener:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void ObjectVisible (iVisibilityObject *visobject, iMeshWrapper *mesh, uint32 frustum_mask)=0
 This function is called whenever the visibilty culler discovers a new visible mesh.

Detailed Description

Implement this interface when you want to get notified about visible objects detected by the visibility cullers.

This callback is used by:

Definition at line 70 of file viscull.h.


Member Function Documentation

virtual void iVisibilityCullerListener::ObjectVisible ( iVisibilityObject visobject,
iMeshWrapper mesh,
uint32  frustum_mask 
) [pure virtual]

This function is called whenever the visibilty culler discovers a new visible mesh.

The frustum_mask is a mask that is compatible with the current set of clip planes in the iRenderView. The mask will be true for every relevant plane. This can be used to further optimize clipping testing.


The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7