Panda3D
panda
src
pgraph
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::
24
draw
(
CullableObject
*
object
,
GraphicsStateGuardianBase
*gsg,
25
bool
force,
Thread
*current_thread) {
26
object
->draw(gsg, force, current_thread);
27
}
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:24
CullableObject
The smallest atom of cull.
Definition:
cullableObject.h:45
GraphicsStateGuardianBase
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
Definition:
graphicsStateGuardianBase.h:113
Thread
A thread; that is, a lightweight process.
Definition:
thread.h:51
Generated on Wed May 17 2017 23:44:31 for Panda3D by
1.8.13