#include <drawCullHandler.h>
Inheritance diagram for DrawCullHandler:
Public Member Functions | |
DrawCullHandler (GraphicsStateGuardianBase *gsg) | |
virtual void | record_object (CullableObject *object) |
This callback function is intended to be overridden by a derived class. | |
Static Public Member Functions | |
void | draw (CullableObject *object, GraphicsStateGuardianBase *gsg) |
Draws the indicated CullableObject, with full support for decals if they are attached to the object. | |
void | draw_with_decals (CullableObject *object, GraphicsStateGuardianBase *gsg) |
Draws the indicated CullableObject, assuming it has attached decals. | |
Private Attributes | |
GraphicsStateGuardianBase * | _gsg |
This draws geometry immediately as it is encountered in the scene graph by cull, mixing the draw and cull traversals into one traversal, and prohibiting state sorting. However, it has somewhat lower overhead than separating out draw and cull, if state sorting and multiprocessing are not required.
Definition at line 51 of file drawCullHandler.h.
|
Definition at line 32 of file drawCullHandler.I. |
|
Draws the indicated CullableObject, with full support for decals if they are attached to the object. The appropriate state is set on the GSG before drawing the object. Definition at line 37 of file cullHandler.I. Referenced by CullBinUnsorted::add_object(). |
|
Draws the indicated CullableObject, assuming it has attached decals.
Definition at line 79 of file cullHandler.cxx. References CullableObject::_geom, CullableObject::_next, CullableObject::_state, CullableObject::_transform, NULL, and GraphicsStateGuardianBase::set_state_and_transform(). |
|
This callback function is intended to be overridden by a derived class. This is called as each Geom is discovered by the CullTraverser. Reimplemented from CullHandler. Definition at line 43 of file drawCullHandler.cxx. |
|
Definition at line 58 of file drawCullHandler.h. |