Nebula
|
#include "coregraphics/swapchain.h"
#include "foundation/stdneb.h"
#include "coregraphics/vk/vkgraphicsdevice.h"
#include "coregraphics/vk/vkcommandbuffer.h"
#include "coregraphics/vk/vktexture.h"
#include "vkswapchain.h"
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 | |
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. | |
Variables | |
SwapchainAllocator | Vulkan::swapchainAllocator |