Go to the documentation of this file.
14 #ifndef WGLGRAPHICSWINDOW_H
15 #define WGLGRAPHICSWINDOW_H
26 const std::string &name,
42 virtual void close_window();
43 virtual bool open_window();
46 void setup_colormap(
const PIXELFORMATDESCRIPTOR &pixelformat);
49 static void print_pfd(PIXELFORMATDESCRIPTOR *pfd,
char *msg);
59 static void init_type() {
60 WinGraphicsWindow::init_type();
62 WinGraphicsWindow::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual void begin_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
virtual void ready_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
A container for the various kinds of properties we might ask to have on a graphics window before we o...
A single graphics window for rendering OpenGL under Microsoft Windows.
An abstract base class for glGraphicsWindow and dxGraphicsWindow (and, in general,...
This class is the main interface to controlling the render process.
TypeHandle is the identifier used to differentiate C++ class types.
This is a base class for the various different classes that represent the result of a frame of render...
An object to create GraphicsOutputs that share a particular 3-D API.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
Encapsulates all the communication with a particular instance of a given rendering backend.
virtual void end_flip()
This function will be called within the draw thread after begin_flip() has been called on all windows...
A thread; that is, a lightweight process.
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.