Nebula
Loading...
Searching...
No Matches
vkswapchain.cc File Reference

Namespaces

namespace  Vulkan
 Vulkan implementation of GPU acceleration structure.
namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.

Functions

VkDevice Vulkan::SwapchainGetVkDevice (const CoreGraphics::SwapchainId id)
 Get vulkan device.
VkSwapchainKHR Vulkan::SwapchainGetVkSwapchain (const CoreGraphics::SwapchainId id)
 Get vulkan swapchain.
const Util::Array< VkImageView > & Vulkan::SwapchainGetVkImageViews (const CoreGraphics::SwapchainId id)
 Get vulkan image views.
SwapchainId CoreGraphics::CreateSwapchain (const SwapchainCreateInfo &info)
 Create swapchain.
void CoreGraphics::DestroySwapchain (const SwapchainId id)
 Destroy swapchain.
void CoreGraphics::SwapchainSwap (const SwapchainId id)
 Swap buffers.
CoreGraphics::QueueType CoreGraphics::SwapchainGetQueueType (const SwapchainId id)
 Get queue to use for swapchain.
CoreGraphics::CmdBufferId CoreGraphics::SwapchainAllocateCmds (const SwapchainId id)
 Allocate command buffer for swapchain operations.
void CoreGraphics::SwapchainCopy (const SwapchainId id, const CoreGraphics::CmdBufferId cmdBuf, const CoreGraphics::TextureId source)
 Copy to current backbuffer (call after swap).
void CoreGraphics::SwapchainPresent (const SwapchainId id)
 Present.
CoreGraphics::SemaphoreId CoreGraphics::SwapchainGetCurrentDisplaySemaphore (const SwapchainId id)
 Get present semaphore for the current backbuffer.
CoreGraphics::SemaphoreId CoreGraphics::SwapchainGetCurrentPresentSemaphore (const SwapchainId id)
 Get the present fence for the current backbuffer.

Variables

SwapchainAllocator Vulkan::swapchainAllocator