Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents an interface to an OpenGL device driver. More...
#include <omGraphicsOpenGLDevice.h>
Public Member Functions | |
virtual Shared< GraphicsContext > | createContext (const RenderedPixelFormat &pixelFormat, const GraphicsContextFlags &flags) |
Create a new context for this graphics device with the specified framebuffer pixel format and flags. More... | |
virtual Shared< GraphicsContext > | createContext (const RenderedPixelFormat &pixelFormat, const GraphicsContextFlags &flags, const Shared< GraphicsContext > &sharedContext) |
Create a new context with shared resources for this graphics device with the specified framebuffer pixel format and flags. More... | |
virtual Bool | checkFormat (RenderedPixelFormat &pixelFormat, GraphicsContextFlags &flags, Bool strict=false) const |
Return whether or not the specified pixel format and flags are supported by this device. More... | |
virtual GraphicsDeviceType | getType () const |
Return an object that indicates the type of this graphics device. More... | |
Public Member Functions inherited from om::graphics::devices::GraphicsDevice | |
virtual | ~GraphicsDevice () |
Destroy a graphics device, releasing all of its resources and internal state. More... | |
A class that represents an interface to an OpenGL device driver.
This class allows the user to create OpenGL contexts for an OpenGL device which can then be used for rendering.
|
virtual |
Create a new context for this graphics device with the specified framebuffer pixel format and flags.
Implements om::graphics::devices::GraphicsDevice.
|
virtual |
Create a new context with shared resources for this graphics device with the specified framebuffer pixel format and flags.
Implements om::graphics::devices::GraphicsDevice.
|
virtual |
Return whether or not the specified pixel format and flags are supported by this device.
Implements om::graphics::devices::GraphicsDevice.
|
virtual |
Return an object that indicates the type of this graphics device.
Implements om::graphics::devices::GraphicsDevice.