#ifndef MSP_GL_SAMPLER_BACKEND_H_
#define MSP_GL_SAMPLER_BACKEND_H_
+#include <msp/core/noncopyable.h>
+
namespace Msp {
namespace GL {
-class OpenGLSampler
+class OpenGLSampler: public NonCopyable
{
friend class OpenGLPipelineState;
protected:
- unsigned id;
+ unsigned id = 0;
OpenGLSampler();
+ OpenGLSampler(OpenGLSampler &&);
+ ~OpenGLSampler();
static bool check_anisotropic(bool);