◆ add_delegate()
Add a delegate to handle extra rendering.
The delegate can render underneath the HikoGUI user interface.
Implemented in v1::gfx_surface_vulkan.
◆ remove_delegate()
◆ set_device()
| virtual void v1::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 v1::gfx_surface_vulkan.
◆ size()
| virtual extent2i v1::gfx_surface::size |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ update()
| virtual void v1::gfx_surface::update |
( |
extent2i | new_size | ) |
|
|
pure virtualnoexcept |
Update the surface.
This function will check if the graphic pipeline and swapchain needs to be build, rebuild, or torn down.
- Parameters
-
| new_size | The size of the window. |
Implemented in v1::gfx_surface_vulkan.
The documentation for this class was generated from the following file: