28 Multisampler(VkExtent2D t_Extents, VkFormat t_Format, VkSampleCountFlagBits t_SampleCount = VK_SAMPLE_COUNT_1_BIT);
39 void Create(VkExtent2D t_Extents, VkFormat t_Format);
void Create(VkExtent2D t_Extents, VkFormat t_Format)
Create the image, image mem, and image view based on the m_SampleCountBits field. ...
Definition: MultiSampler.cpp:20
VkImageView m_ColorImageView
Definition: MultiSampler.h:44
VkSampleCountFlagBits m_SampleCountBits
The max sample count allowed on this device.
Definition: MultiSampler.h:47
void Release()
Release the Image, Image memory, and Image view of this multi sampler.
Definition: MultiSampler.cpp:56
VkImage m_ColorImage
Definition: MultiSampler.h:42
A logical device represents the application view of the device.
Definition: LogicalDevice.h:13
A multi-sampler will allow us to enable MSAA.
Definition: MultiSampler.h:14
FORCEINLINE VkSampleCountFlagBits GetSampleCountFlagBits() const
Definition: MultiSampler.h:32
Multisampler(LogicalDevice *t_Dev, VkSampleCountFlagBits t_SampleCount=VK_SAMPLE_COUNT_1_BIT)
Creates a multi-sampler with the set sample count, but does not create it.
Definition: MultiSampler.cpp:8
const LogicalDevice * m_Device
Definition: MultiSampler.h:48
VkDeviceMemory m_ColorImageMemory
Definition: MultiSampler.h:43
~Multisampler()
Definition: MultiSampler.cpp:78
FORCEINLINE const VkImageView & GetImageView() const
Definition: MultiSampler.h:33