VAO

Represents an OpenGL VertrexArrayObject

Constructors

this
this()

Initializes the VAO

Destructor

~this
~this()
Undocumented in source.

Alias This

vao

Alias this to vao

Members

Functions

bind
void bind()

Binds the VAO

remove
void remove()

Deletes the VAO

set_attrib_pointer
void set_attrib_pointer(GLuint attrib_location, GLenum type, GLint size, GLsizei offset, GLsizei stride, GLboolean normalized)
void set_attrib_pointer(Shader shader, string location, GLenum type, GLint size, GLsizei offset, GLsizei stride, GLboolean normalized)

Binds the VAO and sets the vertex attrib pointer.

unbind
void unbind()

Unbinds the VAO

Variables

vao
GLuint vao;

The OpenGL vao name

Inherited Members

From IVAO

bind
void bind()
Undocumented in source.
unbind
void unbind()
Undocumented in source.
remove
void remove()
Undocumented in source.

Meta