Panda3D
|
00001 // Filename: displayRegionDrawCallbackData.I 00002 // Created by: drose (13Mar09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: DisplayRegionDrawCallbackData::get_cull_result 00018 // Access: Published 00019 // Description: Returns a pointer to the CullResult, the list of 00020 // CullableObjects that should be drawn in this 00021 // DisplayRegion. 00022 //////////////////////////////////////////////////////////////////// 00023 INLINE CullResult *DisplayRegionDrawCallbackData:: 00024 get_cull_result() const { 00025 return _cull_result; 00026 } 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Function: DisplayRegionDrawCallbackData::get_scene_setup 00030 // Access: Published 00031 // Description: Returns a pointer to the SceneSetup object, which 00032 // contains information about the camera and such. 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE SceneSetup *DisplayRegionDrawCallbackData:: 00035 get_scene_setup() const { 00036 return _scene_setup; 00037 }