|
| bool | bringToFront () noexcept override |
| | WindowedGraphicsOutput::bringToFront() implementation.
|
| |
| struct KzsDesktop * | getDesktop () const |
| | Gets associated legacy desktop.
|
| |
| struct KzsDisplay * | getDisplay (size_t index) const |
| | Access associated legacy display by index.
|
| |
| KZ_NO_DISCARD uintptr_t | getNativeFramebufferHandle (platform::APIBackend backend) const noexcept override |
| | FramebufferGraphicsOutput::getNativeFramebufferHandle() implementation.
|
| |
| NativeInputHandle | getNativeInputHandle () |
| | Gets the associated native input handle.
|
| |
| optional< NativeWindowHandle > | getNativeWindowHandle () const noexcept override |
| | WindowedGraphicsOutput::getNativeWindowHandle() implementation.
|
| |
| KZ_DEPRECATED KZ_NO_DISCARD KzsDisplayOrientationAngle | getOrientationAngle () const |
| | Gets legacy orientation angle.
|
| |
| Matrix4x4 | getTargetTransformation () const noexcept override |
| | FramebufferGraphicsOutput::getTargetTransformation() implementation.
|
| |
| struct KzsWindow * | getWindow () const |
| | Gets associated legacy window.
|
| |
| optional< unsigned int > | getWindowHeight () const noexcept override |
| | WindowedGraphicsOutput::getWindowHeight() implementation.
|
| |
| optional< int > | getWindowPositionX () const noexcept override |
| | WindowedGraphicsOutput::getWindowPositionX() implementation.
|
| |
| optional< int > | getWindowPositionY () const noexcept override |
| | WindowedGraphicsOutput::getWindowPositionY() implementation.
|
| |
| optional< string > | getWindowTitle () const noexcept override |
| | WindowedGraphicsOutput::getWindowTitle() implementation.
|
| |
| optional< unsigned int > | getWindowWidth () const noexcept override |
| | WindowedGraphicsOutput::getWindowWidth() implementation.
|
| |
| void | handleEvents (EventQueue &eventQueue) |
| | Handles the window resize event.
|
| |
| bool | hideWindow () noexcept override |
| | WindowedGraphicsOutput::hideWindow() implementation.
|
| |
| | LegacyGraphicsOutput (const struct KzsSurfaceProperties *surfaceProperties, const NativeWindowProperties *windowProperties, const NativeDesktopProperties *desktopProperties) |
| | Constructor.
|
| |
| | LegacyGraphicsOutput (NativeWindowHandle handle, const struct KzsSurfaceProperties *surfaceProperties, const NativeWindowProperties *windowProperties, const NativeDesktopProperties *desktopProperties) |
| | Constructor.
|
| |
| void | logProperties () const |
| | Logs the properties of the graphics output.
|
| |
| bool | makeFullscreen () noexcept override |
| | WindowedGraphicsOutput::makeFullscreen() implementation.
|
| |
| bool | makeMaximized () noexcept override |
| | WindowedGraphicsOutput::makeMaximized() implementation.
|
| |
| bool | makeMinimized () noexcept override |
| | WindowedGraphicsOutput::makeMinimized() implementation.
|
| |
| bool | makeRegular () noexcept override |
| | WindowedGraphicsOutput::makeRegular() implementation.
|
| |
| bool | moveWindow (int positionX, int positionY) noexcept override |
| | WindowedGraphicsOutput::moveWindow() implementation.
|
| |
| bool | resize (unsigned int width, unsigned int height) noexcept override |
| | WindowedGraphicsOutput::resize() implementation.
|
| |
| bool | resizeWindow (unsigned int width, unsigned int height) noexcept override |
| | WindowedGraphicsOutput::resizeWindow() implementation.
|
| |
| bool | setWindowTitle (string_view title) noexcept override |
| | WindowedGraphicsOutput::setWindowTitle() implementation.
|
| |
| bool | showWindow () noexcept override |
| | WindowedGraphicsOutput::showWindow() implementation.
|
| |
| | ~LegacyGraphicsOutput () override |
| | Destructor.
|
| |
| KZ_NO_DISCARD Vector2 | getDpi () const noexcept |
| | Returns the resolution of the target coordinate system in dots per inch.
|
| |
| KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
| | Returns the height of layout area in the target coordinate system.
|
| |
| KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
| | Returns the width of layout area in the target coordinate system.
|
| |
| virtual | ~GraphicsOutput ()=default |
| | Destructor.
|
| |
| | FramebufferGraphicsOutput () noexcept |
| | Constructor.
|
| |
| template<typename FramebufferT , typename = enable_if_t<is_base_of_v<FramebufferBase, FramebufferT>>> |
| KZ_NO_DISCARD FramebufferT * | getFramebuffer () const noexcept |
| | Returns the framebuffer for the graphics output.
|
| |
| template<typename FramebufferT , typename > |
| FramebufferT * | getFramebuffer () const noexcept |
| |
| void | invalidate () noexcept |
| | Invalidates underlying framebuffer.
|
| |
| void | setFramebuffer (unique_ptr< FramebufferBase > framebuffer) noexcept |
| | Sets framebuffer for the graphics output.
|
| |
| virtual | ~FramebufferGraphicsOutput ()=default |
| | Destructor.
|
| |
| virtual | ~WindowedGraphicsOutput ()=default |
| | Destructor.
|
| |
LegacyGraphicsOutput class.
A graphics output implementation that provides basic GL rendering output.