Constructors
| Name | Description |
|---|---|
VulkanBackend() |
Destructors
| Name | Description |
|---|---|
~VulkanBackend() |
Override Functions
| Access | Return | Modifier | Name | Description |
|---|---|---|---|---|
protected | void | onInit() | ||
protected | void | onShutdown() | ||
protected | void | onResize() | ||
protected | void | |||
protected | void |
Functions
| Access | Return | Modifier | Name | Description |
|---|---|---|---|---|
public | vk::Viewport | const | ||
public | vk::Rect2D | const | ||
private | void | buildInstance() | ||
private | void | destroyInstance() | ||
private | void | buildDebugMessenger() | ||
private | void | destroyDebugMessenger() | ||
private | void | buildSurface() | ||
private | void | destroySurface() | ||
private | void | buildQueues() | ||
private | void | buildDevices() | ||
private | void | destroyDevices() | ||
private | void | updateResourceBudget() | ||
private | void | buildCommandPool() | ||
private | void | destroyCommandPool() | ||
private | void | buildMainCommandBuffer() | ||
private | void | buildSwapchain() | ||
private | void | destroySwapchain() | ||
private | void | rebuildSwapchain() | ||
private | void | buildFrames() | ||
private | void | destroyFrames() | ||
private | void | buildLayers() | ||
private | void | buildTextureDescriptor() | ||
private | void | |||
private | void | destroyTextureData() |
Members
| Access | Type | Modifier | Name | Description |
|---|---|---|---|---|
public | vk::Instance | instance | ||
public | vk::PhysicalDevice | physicalDevice | ||
public | vk::Device | logicalDevice | ||
public | vk::SurfaceKHR | surface | ||
public | vk::Queue | graphicsQueue | ||
public | vk::CommandBuffer | mainCommandBuffer | ||
public | swapchain | |||
public | frames | |||
public | textureDescriptor | |||
public | std::vector<std::unique_ptr<VulkanTexture>> | textures | ||
private | std::uint32_t | m_currentFrameIndex | ||
private | vk::detail::DispatchLoaderDynamic | m_dispatcher | ||
private | vk::DebugUtilsMessengerEXT | m_debugMessenger | ||
private | vk::Queue | m_presentQueue | ||
private | vk::CommandPool | m_mainCommandPool |