12 #ifndef OSXGRAPHICSBUFFER_H 13 #define OSXGRAPHICSBUFFER_H 14 #include <Carbon/Carbon.h> 17 #include <OpenGL/gl.h> 30 const std::string &name,
42 virtual void close_buffer();
43 virtual bool open_buffer();
52 static void init_type() {
53 GraphicsBuffer::init_type();
55 GraphicsBuffer::get_class_type());
58 return get_class_type();
60 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
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 bool begin_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread before beginning rendering for a given frame.
An offscreen buffer in the OSX environment.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A tiny specialization on GLGraphicsStateGuardian to add some wgl-specific information.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
This is a base class for the various different classes that represent the result of a frame of render...
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...