1 #ifndef MSP_GL_VERTEXSETUP_BACKEND_H_
2 #define MSP_GL_VERTEXSETUP_BACKEND_H_
4 #include <msp/core/noncopyable.h>
12 class OpenGLVertexSetup: public NonCopyable
14 friend class OpenGLPipelineState;
20 OpenGLVertexSetup(OpenGLVertexSetup &&);
23 static void require_format(const VertexFormat &, bool);
24 void update(unsigned) const;
25 void update_vertex_array(const VertexArray &, unsigned, unsigned, bool) const;
29 void set_debug_name(const std::string &);
32 using VertexSetupBackend = OpenGLVertexSetup;