HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::gui_window_vulkan_macos Class Referencefinal
Inheritance diagram for v1::gui_window_vulkan_macos:
v1::gfx_surface_vulkan v1::gfx_surface

Public Member Functions

 gui_window_vulkan_macos (std::shared_ptr< WindowDelegate > const &delegate, Label &&title)
 gui_window_vulkan_macos (const gui_window_vulkan_macos &)=delete
gui_window_vulkan_macos & operator= (const gui_window_vulkan_macos &)=delete
 gui_window_vulkan_macos (gui_window_vulkan_macos &&)=delete
gui_window_vulkan_macos & operator= (gui_window_vulkan_macos &&)=delete
vk::SurfaceKHR getSurface () const override
void set_cursor (mouse_cursor cursor) noexcept override
void close_window () override
void minimize_window () override
void maximize_window () override
void normalize_window () override
void set_window_size (std::size_t width, std::size_t height) override
std::string get_text_from_clipboard () const noexcept override
void set_text_on_clipboard (std::string str) noexcept override
Public Member Functions inherited from v1::gfx_surface_vulkan
 gfx_surface_vulkan (gfx_system &system, vk::SurfaceKHR surface)
 gfx_surface_vulkan (const gfx_surface_vulkan &)=delete
gfx_surface_vulkan & operator= (const gfx_surface_vulkan &)=delete
 gfx_surface_vulkan (gfx_surface_vulkan &&)=delete
gfx_surface_vulkan & operator= (gfx_surface_vulkan &&)=delete
void init () override
void set_device (gfx_device *device) noexcept override
gfx_device_vulkanvulkan_device () const noexcept
extent2 size () const noexcept override
 Get the size of the surface.
void update (extent2 new_size) noexcept override
 Update the surface.
std::optional< gfx_draw_context > render_start (aarectangle redraw_rectangle) override
void render_finish (gfx_draw_context const &context) override
void add_delegate (gfx_surface_delegate *delegate) noexcept override
 Add a delegate to handle extra rendering.
void remove_delegate (gfx_surface_delegate *delegate) noexcept override
 Remove a delegate.
Public Member Functions inherited from v1::gfx_surface
 gfx_surface (const gfx_surface &)=delete
gfx_surface & operator= (const gfx_surface &)=delete
 gfx_surface (gfx_surface &&)=delete
gfx_surface & operator= (gfx_surface &&)=delete
 gfx_surface (gfx_system &system)
gfx_devicedevice () const noexcept

Static Public Member Functions

static void createWindowClass ()

Static Public Attributes

static bool firstWindowHasBeenOpened
Static Public Attributes inherited from v1::gfx_surface_vulkan
static constexpr uint32_t defaultNumberOfSwapchainImages = 2
static const vk::Format depthImageFormat = vk::Format::eD16Unorm
static const vk::Format colorImageFormat = vk::Format::eR16G16B16A16Sfloat

Additional Inherited Members

Public Types inherited from v1::gfx_surface_vulkan
using super = gfx_surface
Data Fields inherited from v1::gfx_surface_vulkan
vk::SurfaceKHR intrinsic
vk::SwapchainKHR swapchain
uint32_t nrSwapchainImages
vk::Extent2D swapchainImageExtent
vk::SurfaceFormatKHR swapchainImageFormat
std::vector< swapchain_image_infoswapchain_image_infos
VmaAllocation depthImageAllocation
vk::Image depthImage
vk::ImageView depthImageView
std::array< VmaAllocation, 1 > colorImageAllocations
std::array< vk::Image, 1 > colorImages
std::array< vk::ImageView, 1 > colorImageViews
std::array< vk::DescriptorImageInfo, 1 > colorDescriptorImageInfos
vk::RenderPass renderPass
vk::CommandBuffer commandBuffer
vk::Semaphore imageAvailableSemaphore
vk::Semaphore renderFinishedSemaphore
vk::Fence renderFinishedFence
std::unique_ptr< pipeline_image::pipeline_imageimage_pipeline
std::unique_ptr< pipeline_box::pipeline_boxbox_pipeline
std::unique_ptr< pipeline_SDF::pipeline_SDFSDF_pipeline
std::unique_ptr< pipeline_alpha::pipeline_alphaalpha_pipeline
std::unique_ptr< pipeline_tone_mapper::pipeline_tone_mappertone_mapper_pipeline
Data Fields inherited from v1::gfx_surface
gfx_systemsystem
gfx_surface_state state = gfx_surface_state::has_window
gfx_surface_loss loss = gfx_surface_loss::none

The documentation for this class was generated from the following file: