|
|
| Renderer (Window *context_holder) |
| |
| | OpenGL (Window *context_holder) |
| | Constructor.
|
| |
| void | resizeViewport (const int32_t x, const int32_t y, const int32_t width, const int32_t height) |
| | Resize screen viewport.
|
| |
| void | scissor (uint32_t x, uint32_t y, uint32_t width, uint32_t height) |
| | Define the scissor area Only allow draws in this area, other draw calls are discarded.
|
| |
| std::shared_ptr< render::ScreenQuad > | getScreenQuad () |
| | Get a screen covering quad render mesh for screen rendering.
|
| |
| const Window & | getWindow () const noexcept |
| | Get a reference to the Window bound to the context.
|
| |
| void | bindContextToWindow (Window &window) |
| | Bind the OpenGL to a Window.
|
| |
|
|
static Renderer * | getInstance () noexcept |
| |
| static OpenGL * | getInstance () |
| | Get the OpenGL instance related to this thread.
|
| |
| static bool | hasContext () |
| | Check if this thread has an OpenGL context.
|
| |
The documentation for this class was generated from the following file: