VkFormat m_Format
Definition: DepthBuffer.h:50
VkSampleCountFlagBits m_SampleCount
Definition: DepthBuffer.h:53
FORCEINLINE const VkImageView & GetVkImageView() const
Definition: DepthBuffer.h:18
void CreateImageView()
Definition: DepthBuffer.cpp:93
VkDeviceMemory m_Memory
Definition: DepthBuffer.h:48
void Cleanup()
Cleans up all Vulkan resources of this depth buffer.
Definition: DepthBuffer.cpp:41
const LogicalDevice * m_Device
Definition: DepthBuffer.h:45
A logical device represents the application view of the device.
Definition: LogicalDevice.h:13
FORCEINLINE const VkFormat & GetFormat() const
Definition: DepthBuffer.h:19
VkExtent2D m_Extents
Definition: DepthBuffer.h:51
void SetExtents(VkExtent2D t_Extents)
Definition: DepthBuffer.cpp:72
void Create()
Creates all VK resources.
Definition: DepthBuffer.cpp:17
~DepthBuffer()
Definition: DepthBuffer.cpp:36
FORCEINLINE const VkDeviceMemory & GetVkMemory() const
Definition: DepthBuffer.h:17
VkImage m_Image
Definition: DepthBuffer.h:47
DepthBuffer(LogicalDevice *t_Dev, VkSampleCountFlagBits t_SampleCount, VkExtent2D t_Extents)
Definition: DepthBuffer.cpp:8
FORCEINLINE const VkImage & GetVkImage() const
Definition: DepthBuffer.h:16
VkImageView m_ImageView
Definition: DepthBuffer.h:49
static VkFormat GetDepthBufferFormat()
Definition: DepthBuffer.cpp:63
void CreateImage()
Definition: DepthBuffer.cpp:77
Definition: DepthBuffer.h:9