Panda3D
Loading...
Searching...
No Matches
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 */
19INLINE void CullHandler::
21 bool force, Thread *current_thread) {
22 object->draw(gsg, force, current_thread);
23}
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
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:46