Panda3D
Public Member Functions

DrawCullHandler Class Reference

This special kind of CullHandler immediately draws its contents as soon as it receives them. More...

#include "drawCullHandler.h"

Inheritance diagram for DrawCullHandler:
CullHandler

List of all members.

Public Member Functions

 DrawCullHandler (GraphicsStateGuardianBase *gsg)
virtual void record_object (CullableObject *object, const CullTraverser *traverser)
 This callback function is intended to be overridden by a derived class.

Detailed Description

This special kind of CullHandler immediately draws its contents as soon as it receives them.

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 34 of file drawCullHandler.h.


Member Function Documentation

void DrawCullHandler::record_object ( CullableObject object,
const CullTraverser traverser 
) [virtual]

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 32 of file drawCullHandler.cxx.

References CullHandler::draw(), CullTraverser::get_current_thread(), and CullableObject::munge_geom().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations