// 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_OPENGLRENDERER_OPENGLTEXTURESAMPLER_HPP #define NAZARA_OPENGLRENDERER_OPENGLTEXTURESAMPLER_HPP #include #include #include namespace Nz { class NAZARA_OPENGLRENDERER_API OpenGLTextureSampler : public TextureSampler { public: OpenGLTextureSampler(Vk::Device& device, TextureSamplerInfo samplerInfo); OpenGLTextureSampler(const OpenGLTextureSampler&) = default; OpenGLTextureSampler(OpenGLTextureSampler&&) noexcept = default; ~OpenGLTextureSampler() = default; inline VkSampler GetSampler() const; OpenGLTextureSampler& operator=(const OpenGLTextureSampler&) = delete; OpenGLTextureSampler& operator=(OpenGLTextureSampler&&) = delete; private: Vk::Sampler m_sampler; }; } #include #endif // NAZARA_OPENGLRENDERER_OPENGLTEXTURESAMPLER_HPP