Panda3D

displayRegionDrawCallbackData.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 displayRegionDrawCallbackData.I
10 * @author drose
11 * @date 2009-03-13
12 */
13
14 /**
15 * Returns a pointer to the CullResult, the list of CullableObjects that
16 * should be drawn in this DisplayRegion.
17 */
18 INLINE CullResult *DisplayRegionDrawCallbackData::
19 get_cull_result() const {
20 return _cull_result;
21 }
22
23 /**
24 * Returns a pointer to the SceneSetup object, which contains information
25 * about the camera and such.
26 */
27 INLINE SceneSetup *DisplayRegionDrawCallbackData::
28 get_scene_setup() const {
29 return _scene_setup;
30 }
CullResult
This stores the result of a BinCullHandler traversal: an ordered collection of CullBins,...
Definition: cullResult.h:44
DisplayRegionDrawCallbackData::get_scene_setup
SceneSetup * get_scene_setup() const
Returns a pointer to the SceneSetup object, which contains information about the camera and such.
Definition: displayRegionDrawCallbackData.I:28
DisplayRegionDrawCallbackData::get_cull_result
CullResult * get_cull_result() const
Returns a pointer to the CullResult, the list of CullableObjects that should be drawn in this Display...
Definition: displayRegionDrawCallbackData.I:19
SceneSetup
This object holds the camera position, etc., and other general setup information for rendering a part...
Definition: sceneSetup.h:32