KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_VULKAN_DEVICE::SwapchainAllocation Struct Reference

Public Attributes

VkSwapchainKHR swapchain = VK_NULL_HANDLE
 
RHI_SurfaceHandle surface
 
VkFormat format = VK_FORMAT_R8G8B8A8_UNORM
 
VkColorSpaceKHR colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
 
VkExtent2D extent = { 0, 0 }
 
VkExtent2D requestedExtent = { 0, 0 }
 
float dpiScale = 1.0f
 
VkPresentModeKHR presentMode = VK_PRESENT_MODE_FIFO_KHR
 
std::vector< VkImage > images
 
std::vector< VkImageView > imageViews
 
VkSemaphore imageAvailable = VK_NULL_HANDLE
 
VkFence inFlightFence = VK_NULL_HANDLE
 
std::vector< VkSemaphore > renderFinished
 
uint64_t lastPresentId = 0
 
uint32_t currentImageIndex = 0
 
VkCommandBuffer lastPresentCmd = VK_NULL_HANDLE
 
bool needsResize = false
 
bool waitingForSurfaceExtent = false
 
std::chrono::steady_clock::time_point nextSurfaceExtentCheck {}
 
VkExtent2D lastLoggedExtent = { 0, 0 }
 
uint64_t presentAttemptCount = 0
 
VkRenderPass presentRenderPass = VK_NULL_HANDLE
 
std::vector< VkFramebuffer > presentFramebuffers
 
VkDescriptorPool presentDescPool = VK_NULL_HANDLE
 
VkDescriptorSet presentDescSet = VK_NULL_HANDLE
 

Detailed Description

Definition at line 668 of file rhi_vulkan_device.cpp.

Member Data Documentation

◆ colorSpace

VkColorSpaceKHR RHI_VULKAN_DEVICE::SwapchainAllocation::colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR

Definition at line 673 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::CreateSwapchain().

◆ currentImageIndex

uint32_t RHI_VULKAN_DEVICE::SwapchainAllocation::currentImageIndex = 0

Definition at line 686 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::Present().

◆ dpiScale

float RHI_VULKAN_DEVICE::SwapchainAllocation::dpiScale = 1.0f

◆ extent

VkExtent2D RHI_VULKAN_DEVICE::SwapchainAllocation::extent = { 0, 0 }

◆ format

VkFormat RHI_VULKAN_DEVICE::SwapchainAllocation::format = VK_FORMAT_R8G8B8A8_UNORM

◆ imageAvailable

VkSemaphore RHI_VULKAN_DEVICE::SwapchainAllocation::imageAvailable = VK_NULL_HANDLE

◆ images

std::vector<VkImage> RHI_VULKAN_DEVICE::SwapchainAllocation::images

◆ imageViews

std::vector<VkImageView> RHI_VULKAN_DEVICE::SwapchainAllocation::imageViews

◆ inFlightFence

VkFence RHI_VULKAN_DEVICE::SwapchainAllocation::inFlightFence = VK_NULL_HANDLE

◆ lastLoggedExtent

VkExtent2D RHI_VULKAN_DEVICE::SwapchainAllocation::lastLoggedExtent = { 0, 0 }

Definition at line 691 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::Present().

◆ lastPresentCmd

VkCommandBuffer RHI_VULKAN_DEVICE::SwapchainAllocation::lastPresentCmd = VK_NULL_HANDLE

◆ lastPresentId

uint64_t RHI_VULKAN_DEVICE::SwapchainAllocation::lastPresentId = 0

◆ needsResize

bool RHI_VULKAN_DEVICE::SwapchainAllocation::needsResize = false

◆ nextSurfaceExtentCheck

std::chrono::steady_clock::time_point RHI_VULKAN_DEVICE::SwapchainAllocation::nextSurfaceExtentCheck {}

◆ presentAttemptCount

uint64_t RHI_VULKAN_DEVICE::SwapchainAllocation::presentAttemptCount = 0

Definition at line 692 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::Present().

◆ presentDescPool

VkDescriptorPool RHI_VULKAN_DEVICE::SwapchainAllocation::presentDescPool = VK_NULL_HANDLE

◆ presentDescSet

VkDescriptorSet RHI_VULKAN_DEVICE::SwapchainAllocation::presentDescSet = VK_NULL_HANDLE

◆ presentFramebuffers

std::vector<VkFramebuffer> RHI_VULKAN_DEVICE::SwapchainAllocation::presentFramebuffers

◆ presentMode

VkPresentModeKHR RHI_VULKAN_DEVICE::SwapchainAllocation::presentMode = VK_PRESENT_MODE_FIFO_KHR

◆ presentRenderPass

VkRenderPass RHI_VULKAN_DEVICE::SwapchainAllocation::presentRenderPass = VK_NULL_HANDLE

◆ renderFinished

std::vector<VkSemaphore> RHI_VULKAN_DEVICE::SwapchainAllocation::renderFinished

◆ requestedExtent

VkExtent2D RHI_VULKAN_DEVICE::SwapchainAllocation::requestedExtent = { 0, 0 }

◆ surface

RHI_SurfaceHandle RHI_VULKAN_DEVICE::SwapchainAllocation::surface

◆ swapchain

◆ waitingForSurfaceExtent

bool RHI_VULKAN_DEVICE::SwapchainAllocation::waitingForSurfaceExtent = false

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