Nebula
Loading...
Searching...
No Matches
swapchain.h File Reference

Go to the source code of this file.

Classes

struct  CoreGraphics::SwapchainId
 
struct  CoreGraphics::SwapchainCreateInfo
 

Namespaces

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

Functions

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.