Public Member Functions |
|
| wdxGraphicsBuffer8 (GraphicsEngine *engine, GraphicsPipe *pipe, const string &name, const FrameBufferProperties &fb_prop, const WindowProperties &win_prop, int flags, GraphicsStateGuardian *gsg, GraphicsOutput *host) |
| 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.
|
| 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.
|
|
virtual TypeHandle | force_init_type () |
| 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.
|
|
virtual TypeHandle | get_type () const |
| virtual void | process_events () |
| | Do whatever processing is necessary to ensure that the window responds to user events.
|
| virtual void | select_cube_map (int cube_map_index) |
| | Called internally when the window is in render-to-a-texture mode and we are in the process of rendering the six faces of a cube map.
|
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
|
static void | init_type () |
Protected Member Functions |
| virtual void | close_buffer () |
| | Closes the buffer right now.
|
| virtual bool | open_buffer () |
| | Opens the window right now.
|
Friends |
|
class | DXGraphicsStateGuardian8 |
|
class | DXTextureContext8 |
An offscreen render buffer.
In OpenGL under Windows, this simply renders into a window that is never made visible. There's a Windows interface for rendering into a DIB, but this puts restrictions on the kind of pixelformat we can use, and thus makes it difficult to support one GSG rendering into an offscreen buffer and also into a window.
Definition at line 33 of file wdxGraphicsBuffer8.h.