1 #ifndef MSP_GL_SAMPLER_BACKEND_H_
2 #define MSP_GL_SAMPLER_BACKEND_H_
4 #include <msp/core/noncopyable.h>
9 class OpenGLSampler: public NonCopyable
11 friend class OpenGLPipelineState;
17 OpenGLSampler(OpenGLSampler &&);
20 static bool check_anisotropic(bool);
22 void update(unsigned) const;
24 void set_debug_name(const std::string &);
27 using SamplerBackend = OpenGLSampler;
29 unsigned get_gl_filter(unsigned);
30 unsigned get_gl_wrap(unsigned);