#include <DepthBuffer.h>
◆ DepthBuffer()
| Fling::DepthBuffer::DepthBuffer |
( |
LogicalDevice * |
t_Dev, |
|
|
VkSampleCountFlagBits |
t_SampleCount, |
|
|
VkExtent2D |
t_Extents |
|
) |
| |
|
explicit |
◆ ~DepthBuffer()
| Fling::DepthBuffer::~DepthBuffer |
( |
| ) |
|
◆ Cleanup()
| void Fling::DepthBuffer::Cleanup |
( |
| ) |
|
Cleans up all Vulkan resources of this depth buffer.
Called automatically on destruction
◆ Create()
| void Fling::DepthBuffer::Create |
( |
| ) |
|
Creates all VK resources.
Assumes that they are null. Uses swap chain extents Called on construction
- See also
- Cleanup
◆ CreateImage()
| void Fling::DepthBuffer::CreateImage |
( |
| ) |
|
|
private |
◆ CreateImageView()
| void Fling::DepthBuffer::CreateImageView |
( |
| ) |
|
|
private |
◆ GetDepthBufferFormat()
| VkFormat Fling::DepthBuffer::GetDepthBufferFormat |
( |
| ) |
|
|
static |
◆ GetFormat()
| FORCEINLINE const VkFormat& Fling::DepthBuffer::GetFormat |
( |
| ) |
const |
|
inline |
◆ GetVkImage()
| FORCEINLINE const VkImage& Fling::DepthBuffer::GetVkImage |
( |
| ) |
const |
|
inline |
◆ GetVkImageView()
| FORCEINLINE const VkImageView& Fling::DepthBuffer::GetVkImageView |
( |
| ) |
const |
|
inline |
◆ GetVkMemory()
| FORCEINLINE const VkDeviceMemory& Fling::DepthBuffer::GetVkMemory |
( |
| ) |
const |
|
inline |
◆ SetExtents()
| void Fling::DepthBuffer::SetExtents |
( |
VkExtent2D |
t_Extents | ) |
|
◆ m_Device
◆ m_Extents
| VkExtent2D Fling::DepthBuffer::m_Extents {} |
|
private |
◆ m_Format
| VkFormat Fling::DepthBuffer::m_Format {} |
|
private |
◆ m_Image
| VkImage Fling::DepthBuffer::m_Image = VK_NULL_HANDLE |
|
private |
◆ m_ImageView
| VkImageView Fling::DepthBuffer::m_ImageView = VK_NULL_HANDLE |
|
private |
◆ m_Memory
| VkDeviceMemory Fling::DepthBuffer::m_Memory = VK_NULL_HANDLE |
|
private |
◆ m_SampleCount
| VkSampleCountFlagBits Fling::DepthBuffer::m_SampleCount = VK_SAMPLE_COUNT_1_BIT |
|
private |
The documentation for this class was generated from the following files: