Panda3D
cullHandler.I
1 // Filename: cullHandler.I
2 // Created by: drose (04Mar02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: CullHandler::draw
17 // Access: Public, Static
18 // Description: Draws the indicated CullableObject, with full support
19 // for decals if they are attached to the object. The
20 // appropriate state is set on the GSG before drawing
21 // the object.
22 ////////////////////////////////////////////////////////////////////
23 INLINE void CullHandler::
25  bool force, Thread *current_thread) {
26  object->draw(gsg, force, current_thread);
27 }
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...
Definition: cullHandler.I:24
The smallest atom of cull.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
A thread; that is, a lightweight process.
Definition: thread.h:51