Panda3D
 All Classes Functions Variables Enumerations
displayRegionCullCallbackData.I
1 // Filename: displayRegionCullCallbackData.I
2 // Created by: drose (14Mar09)
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: DisplayRegionCullCallbackData::get_cull_handler
18 // Access: Published
19 // Description: Returns a pointer to the CullHandler, which accepts
20 // each object to be added to the list for drawing.
21 ////////////////////////////////////////////////////////////////////
24  return _cull_handler;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: DisplayRegionCullCallbackData::get_scene_setup
29 // Access: Published
30 // Description: Returns a pointer to the SceneSetup object, which
31 // contains information about the camera and such.
32 ////////////////////////////////////////////////////////////////////
34 get_scene_setup() const {
35  return _scene_setup;
36 }
CullHandler * get_cull_handler() const
Returns a pointer to the CullHandler, which accepts each object to be added to the list for drawing...
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
Definition: cullHandler.h:31
This object holds the camera position, etc., and other general setup information for rendering a part...
Definition: sceneSetup.h:35
SceneSetup * get_scene_setup() const
Returns a pointer to the SceneSetup object, which contains information about the camera and such...