◆ set_device()
| virtual void tt::gfx_surface::set_device |
( |
gfx_device * | device | ) |
|
|
virtualnoexcept |
Set GPU device to manage this window. Change of the device may be done at runtime.
- Parameters
-
| device | The device to use for rendering, may be nullptr. |
Reimplemented in tt::gfx_surface_vulkan.
◆ update()
Update the surface.
This function will check if the graphic pipeline and swapchain needs to be build, rebuild, or torn down.
- Parameters
-
| minimum_size | The minimum size that the surface is allowed to be. |
| maximum_size | The maximum size that the surface is allowed to be. |
Implemented in tt::gfx_surface_vulkan.
◆ size
The current size of the surface.
◆ subpixel_orientation
| subpixel_orientation tt::gfx_surface::subpixel_orientation = subpixel_orientation::BlueRight |
Orientation of the RGB subpixels.
The documentation for this class was generated from the following file: