15 #ifndef STEREODISPLAYREGION_H 16 #define STEREODISPLAYREGION_H 18 #include "pandabase.h" 20 #include "displayRegion.h" 66 virtual void output(ostream &out)
const;
67 virtual PT(
PandaNode) make_cull_result_graph();
80 static void init_type() {
81 DisplayRegion::init_type();
82 register_type(_type_handle,
"StereoDisplayRegion",
83 DisplayRegion::get_class_type());
86 return get_class_type();
88 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
97 #include "stereoDisplayRegion.I" A basic node of the scene graph or data graph.
Encapsulates the data from a DisplayRegion, pre-fetched for one stage of the pipeline.
virtual void set_sort(int sort)
Sets the sort value associated with the DisplayRegion.
virtual void set_clear_active(int n, bool clear_aux_active)
Sets the clear-active flag for any bitplane.
void set_dimensions(PN_stdfloat l, PN_stdfloat r, PN_stdfloat b, PN_stdfloat t)
Changes the portion of the framebuffer this DisplayRegion corresponds to.
virtual void set_texture_reload_priority(int texture_reload_priority)
Specifies an integer priority which is assigned to any asynchronous texture reload requests spawned w...
virtual void set_target_tex_page(int page)
This is a special parameter that is only used when rendering the faces of a cube map or multipage and...
virtual void set_cull_traverser(CullTraverser *trav)
Specifies the CullTraverser that will be used to draw the contents of this DisplayRegion.
virtual void set_clear_value(int n, const LColor &clear_value)
Sets the clear value for any bitplane.
virtual void set_tex_view_offset(int tex_view_offset)
Sets the current texture view offset for this DisplayRegion.
virtual void set_active(bool active)
Sets the active flag associated with the DisplayRegion.
virtual void set_incomplete_render(bool incomplete_render)
Sets the incomplete_render flag.
virtual void disable_clears()
Disables both the color and depth clear.
virtual void set_stereo_channel(Lens::StereoChannel stereo_channel)
Specifies whether the DisplayRegion represents the left or right channel of a stereo pair...
virtual bool is_stereo() const
Returns true if this is a StereoDisplayRegion, false otherwise.
This is a base class for the various different classes that represent the result of a frame of render...
This is a special DisplayRegion wrapper that actually includes a pair of DisplayRegions internally: t...
This is the base class for all three-component vectors and points.
virtual void set_camera(const NodePath &camera)
Sets the camera that is associated with this DisplayRegion.
virtual void set_pixel_zoom(PN_stdfloat pixel_zoom)
Sets the amount by which the pixels of the region are scaled internally when filling the image intera...
A rectangular subregion within a window for rendering into.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling...