15 #ifndef GRAPHICSBUFFER_H
16 #define GRAPHICSBUFFER_H
18 #include "pandabase.h"
20 #include "graphicsOutput.h"
22 #include "pointerTo.h"
43 virtual void set_size(
int x,
int y);
56 virtual void close_buffer();
57 virtual bool open_buffer();
65 OpenRequest _open_request;
71 static void init_type() {
72 GraphicsOutput::init_type();
73 register_type(_type_handle,
"GraphicsBuffer",
74 GraphicsOutput::get_class_type());
77 return get_class_type();
79 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
85 #include "graphicsBuffer.I"
virtual void request_close()
This is called by the GraphicsEngine to request that the window (or whatever) close itself or...
virtual void set_close_now()
This is called by the GraphicsEngine to insist that the output be closed immediately.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
virtual void request_open()
This is called by the GraphicsEngine to request that the window (or whatever) open itself or...
An offscreen buffer for rendering into.
An object to create GraphicsOutputs that share a particular 3-D API.
This is a base class for the various different classes that represent the result of a frame of render...
virtual void process_events()
Do whatever processing in the window thread is appropriate for this output object each frame...
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...