// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VULKANRENDERER_VULKANTEXTURESAMPLER_HPP #define NAZARA_VULKANRENDERER_VULKANTEXTURESAMPLER_HPP #include #include #include namespace Nz { class NAZARA_VULKANRENDERER_API VulkanTextureSampler : public TextureSampler { public: VulkanTextureSampler(Vk::Device& device, TextureSamplerInfo samplerInfo); VulkanTextureSampler(const VulkanTextureSampler&) = default; VulkanTextureSampler(VulkanTextureSampler&&) noexcept = default; ~VulkanTextureSampler() = default; inline VkSampler GetSampler() const; VulkanTextureSampler& operator=(const VulkanTextureSampler&) = delete; VulkanTextureSampler& operator=(VulkanTextureSampler&&) = delete; private: Vk::Sampler m_sampler; }; } #include #endif // NAZARA_VULKANRENDERER_VULKANTEXTURESAMPLER_HPP