Class VulkanSampler#

Inheritance Relationships#

Base Type#

Class Documentation#

class VulkanSampler : public TRAP::Graphics::Sampler#

Public Functions

explicit VulkanSampler(const RendererAPI::SamplerDesc &desc)#

Constructor.

Parameters:

descSampler description.

~VulkanSampler() override#

Destructor.

consteval VulkanSampler(const VulkanSampler&) noexcept = delete#

Copy constructor.

consteval VulkanSampler &operator=(const VulkanSampler&) noexcept = delete#

Copy assignment operator.

VulkanSampler(VulkanSampler&&) noexcept = default#

Move constructor.

VulkanSampler &operator=(VulkanSampler&&) noexcept = default#

Move assignment operator.

constexpr VkSampler GetVkSampler() const noexcept#

Retrieve the Vulkan sampler handle.

Returns:

Vulkan sampler handle.