15 #ifndef WGLGRAPHICSBUFFER_H 16 #define WGLGRAPHICSBUFFER_H 18 #include "pandabase.h" 19 #include "graphicsBuffer.h" 25 #ifndef WIN32_LEAN_AND_MEAN 26 #define WIN32_LEAN_AND_MEAN 1 61 virtual void close_buffer();
62 virtual bool open_buffer();
65 void bind_texture_to_pbuffer();
66 bool rebuild_bitplanes();
67 void release_pbuffer();
69 static void process_1_event();
74 Texture::TextureType _pbuffer_type;
83 static void init_type() {
84 GraphicsBuffer::init_type();
85 register_type(_type_handle,
"wglGraphicsBuffer",
86 GraphicsBuffer::get_class_type());
89 return get_class_type();
91 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
99 #include "wglGraphicsBuffer.I" Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
virtual void end_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread after rendering is completed for a given frame...
A tiny specialization on GLGraphicsStateGuardian to add some wgl-specific information.
virtual void select_target_tex_page(int page)
Called internally when the window is in render-to-a-texture mode and we are in the process of renderi...
virtual void process_events()
Honor any requests recently made via request_open() or request_close().
A container for the various kinds of properties we might ask to have on a graphics window before we o...
An offscreen buffer for rendering into.
An object to create GraphicsOutputs that share a particular 3-D API.
virtual bool get_supports_render_texture() const
Returns true if this particular GraphicsOutput can render directly into a texture, or false if it must always copy-to-texture at the end of each frame to achieve this effect.
This is a base class for the various different classes that represent the result of a frame of render...
An offscreen render buffer.
A thread; that is, a lightweight process.
Encapsulates all the communication with a particular instance of a given rendering backend...
This class is the main interface to controlling the render process.
TypeHandle is the identifier used to differentiate C++ class types.
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
virtual bool begin_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread before beginning rendering for a given frame...