Class VulkanSampler#
Defined in File VulkanSampler.h
Inheritance Relationships#
Base Type#
public TRAP::Graphics::Sampler
(Class Sampler)
Class Documentation#
-
class VulkanSampler : public TRAP::Graphics::Sampler#
Public Functions
-
explicit VulkanSampler(const RendererAPI::SamplerDesc &desc)#
Constructor.
- Parameters:
desc – Sampler 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.
-
explicit VulkanSampler(const RendererAPI::SamplerDesc &desc)#