Panda3D
panda
src
pgraph
cullHandler.I
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file cullHandler.I
10
* @author drose
11
* @date 2002-03-04
12
*/
13
14
/**
15
* Draws the indicated CullableObject, with full support for decals if they
16
* are attached to the object. The appropriate state is set on the GSG before
17
* drawing the object.
18
*/
19
INLINE
void
CullHandler::
20
draw
(
CullableObject
*
object
,
GraphicsStateGuardianBase
*gsg,
21
bool
force,
Thread
*current_thread) {
22
object
->draw(gsg, force, current_thread);
23
}
CullHandler::draw
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:20
CullableObject
The smallest atom of cull.
Definition:
cullableObject.h:41
GraphicsStateGuardianBase
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
Definition:
graphicsStateGuardianBase.h:110
Thread
A thread; that is, a lightweight process.
Definition:
thread.h:46
Generated on Wed Jan 23 2019 21:40:09 for Panda3D by
1.8.15