Panda3D
displayRegionDrawCallbackData.I
1 // Filename: displayRegionDrawCallbackData.I
2 // Created by: drose (13Mar09)
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 ////////////////////////////////////////////////////////////////////
17 // Function: DisplayRegionDrawCallbackData::get_cull_result
18 // Access: Published
19 // Description: Returns a pointer to the CullResult, the list of
20 // CullableObjects that should be drawn in this
21 // DisplayRegion.
22 ////////////////////////////////////////////////////////////////////
24 get_cull_result() const {
25  return _cull_result;
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: DisplayRegionDrawCallbackData::get_scene_setup
30 // Access: Published
31 // Description: Returns a pointer to the SceneSetup object, which
32 // contains information about the camera and such.
33 ////////////////////////////////////////////////////////////////////
35 get_scene_setup() const {
36  return _scene_setup;
37 }
SceneSetup * get_scene_setup() const
Returns a pointer to the SceneSetup object, which contains information about the camera and such...
CullResult * get_cull_result() const
Returns a pointer to the CullResult, the list of CullableObjects that should be drawn in this Display...
This stores the result of a BinCullHandler traversal: an ordered collection of CullBins, each of which holds a number of Geoms and RenderStates to be rendered in some defined order.
Definition: cullResult.h:47
This object holds the camera position, etc., and other general setup information for rendering a part...
Definition: sceneSetup.h:35