Panda3D
Public Member Functions | Static Public Member Functions

BinCullHandler Class Reference

This CullHandler sends all of the geoms it receives into a CullResult object, for binning (and later drawing). More...

#include "binCullHandler.h"

Inheritance diagram for BinCullHandler:
CullHandler

List of all members.

Public Member Functions

 BinCullHandler (CullResult *cull_result)
virtual void end_traverse ()
 This callback function is intended to be overridden by a derived class.
virtual void record_object (CullableObject *object, const CullTraverser *traverser)
 This callback function is intended to be overridden by a derived class.

Static Public Member Functions

static void draw (CullableObject *object, GraphicsStateGuardianBase *gsg, bool force, Thread *current_thread)
 Draws the indicated CullableObject, with full support for decals if they are attached to the object.

Detailed Description

This CullHandler sends all of the geoms it receives into a CullResult object, for binning (and later drawing).

This is the kind of CullHandler to use for most normal rendering needs.

Definition at line 30 of file binCullHandler.h.


Member Function Documentation

void CullHandler::draw ( CullableObject object,
GraphicsStateGuardianBase gsg,
bool  force,
Thread current_thread 
) [inline, static, inherited]

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 24 of file cullHandler.I.

Referenced by DrawCullHandler::record_object().

void CullHandler::end_traverse ( ) [virtual, inherited]

This callback function is intended to be overridden by a derived class.

This is called at the end of the traversal.

Reimplemented in PipeOcclusionCullTraverser.

Definition at line 66 of file cullHandler.cxx.

Referenced by CullTraverser::end_traverse().

void BinCullHandler::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 26 of file binCullHandler.cxx.


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