HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes
tt::gui_window_vulkan_macos Class Referencefinal
Inheritance diagram for tt::gui_window_vulkan_macos:
tt::gfx_surface_vulkan tt::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_macosoperator= (const gui_window_vulkan_macos &)=delete
 
 gui_window_vulkan_macos (gui_window_vulkan_macos &&)=delete
 
gui_window_vulkan_macosoperator= (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 (size_t width, 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 tt::gfx_surface_vulkan
 gfx_surface_vulkan (gfx_system &system, vk::SurfaceKHR surface)
 
 gfx_surface_vulkan (const gfx_surface_vulkan &)=delete
 
gfx_surface_vulkanoperator= (const gfx_surface_vulkan &)=delete
 
 gfx_surface_vulkan (gfx_surface_vulkan &&)=delete
 
gfx_surface_vulkanoperator= (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< draw_contextrender_start (aarectangle redraw_rectangle) override
 
void render_finish (draw_context const &context, color background_color) override
 
- Public Member Functions inherited from tt::gfx_surface
 gfx_surface (const gfx_surface &)=delete
 
gfx_surfaceoperator= (const gfx_surface &)=delete
 
 gfx_surface (gfx_surface &&)=delete
 
gfx_surfaceoperator= (gfx_surface &&)=delete
 
 gfx_surface (gfx_system &system)
 
gfx_devicedevice () const noexcept
 
void set_closed () noexcept
 
bool is_closed () const noexcept
 

Static Public Member Functions

static void createWindowClass ()
 

Static Public Attributes

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

Additional Inherited Members

- Public Types inherited from tt::gfx_surface_vulkan
using super = gfx_surface
 
- Data Fields inherited from tt::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, 2 > colorImageAllocations
 
std::array< vk::Image, 2 > colorImages
 
std::array< vk::ImageView, 2 > colorImageViews
 
std::array< vk::DescriptorImageInfo, 2 > colorDescriptorImageInfos
 
vk::RenderPass renderPass
 
vk::CommandBuffer commandBuffer
 
vk::Semaphore imageAvailableSemaphore
 
vk::Semaphore renderFinishedSemaphore
 
vk::Fence renderFinishedFence
 
std::unique_ptr< pipeline_image::pipeline_imageimagePipeline
 
std::unique_ptr< pipeline_box::pipeline_boxboxPipeline
 
std::unique_ptr< pipeline_SDF::pipeline_SDFSDFPipeline
 
std::unique_ptr< pipeline_tone_mapper::pipeline_tone_mappertoneMapperPipeline
 
- Data Fields inherited from tt::gfx_surface
gfx_systemsystem
 
gfx_surface_state state = gfx_surface_state::no_device
 
subpixel_orientation subpixel_orientation = subpixel_orientation::BlueRight
 

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