24 return _panda_framework;
37 _window->is_of_type(GraphicsWindow::get_class_type())) {
64 return _cameras.size();
74 nassertr(n >= 0 && n < (
int)_cameras.size(), NULL);
86 return _display_region_2d;
97 return _display_region_3d;
107 return _anim_controls_enabled;
117 return _wireframe_enabled;
128 return _wireframe_filled;
138 return _texture_enabled;
148 return _two_sided_enabled;
158 return _one_sided_reverse_enabled;
168 return _lighting_enabled;
178 return _perpixel_enabled;
188 return _background_type;
DisplayRegion * get_display_region_3d() const
Returns the default DisplayRegion created for the 3-d scene (render).
BackgroundType get_background_type() const
Returns the current background type setting.
bool get_anim_controls() const
Returns the current state of the anim_controls flag.
bool get_wireframe_filled() const
Returns the current state of the wireframe_filled flag.
bool get_texture() const
Returns the current state of the texture flag.
DisplayRegion * get_display_region_2d() const
Returns the default DisplayRegion created for the 2-d scene (render2d).
bool get_wireframe() const
Returns the current state of the wireframe flag.
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
GraphicsWindow * get_graphics_window() const
Returns a pointer to the underlying GraphicsWindow object, if it is in fact a window; or NULL if it i...
PandaFramework * get_panda_framework() const
Returns a pointer to the associated PandaFramework object.
bool get_lighting() const
Returns the current state of the lighting flag.
This is a base class for the various different classes that represent the result of a frame of render...
int get_num_cameras() const
Returns the number of 3-d cameras associated with the window.
A rectangular subregion within a window for rendering into.
This class serves to provide a high-level framework for basic applications that use Panda in simple w...
Camera * get_camera(int n) const
Returns the nth camera associated with the window.
bool get_two_sided() const
Returns the current state of the two_sided flag.
A node that can be positioned around in the scene graph to represent a point of view for rendering a ...
bool get_one_sided_reverse() const
Returns the current state of the one_sided_reverse flag.
bool get_perpixel() const
Returns the current state of the perpixel flag.
GraphicsOutput * get_graphics_output() const
Returns a pointer to the underlying GraphicsOutput object.