- All Implemented Interfaces:
Lifecycle
Represents a Vertex Array Object (VAO).
-
Constructor Summary
Constructors
Creates a Vertex Array Object (VAO).
-
Method Summary
void
void
int
Getter for the Vertex Array Object ID.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VertexArrayObject
public VertexArrayObject()
Creates a Vertex Array Object (VAO).
-
Method Details
-
bind
public void bind()
Binds the VAO.
-
destroy
public void destroy()
Deletes the VAO.
- Specified by:
destroy
in interface Lifecycle
-
getId
public int getId()
Getter for the Vertex Array Object ID.
- Returns:
- Handle of the VAO