openMSX
|
#include <GLUtil.hh>
Public Member Functions | |
VertexArray () | |
~VertexArray () | |
VertexArray (VertexArray &&other) noexcept | |
VertexArray & | operator= (VertexArray &&other) noexcept |
void | bind () const |
Bind this VertexArray. More... | |
void | unbind () const |
Unbind this VertexArray. More... | |
GLuint | get () const |
|
inlinenoexcept |
|
inline |
Bind this VertexArray.
Must be called before glDraw*() and glVertexAttribPointer() are used.
Definition at line 470 of file GLUtil.hh.
Referenced by openmsx::GLImage::draw(), openmsx::GLSnow::paint(), and openmsx::GLPostProcessor::paint().
|
inlinenoexcept |
|
inline |
Unbind this VertexArray.
Definition at line 474 of file GLUtil.hh.
Referenced by openmsx::GLImage::draw(), openmsx::GLSnow::paint(), openmsx::GLPostProcessor::paint(), and ~VertexArray().