Beispiel #1
0
 /// <summary>
 /// Unbinds the IndexBuffer.
 /// </summary>
 public void Unbind()
 {
     OpenGLInterops.BindBuffer(OpenGLInterops.GL_ELEMENT_ARRAY_BUFFER, 0);
 }
Beispiel #2
0
 /// <summary>
 /// Binds the VertexBuffer.
 /// </summary>
 public void Bind()
 {
     OpenGLInterops.BindBuffer(OpenGLInterops.GL_ARRAY_BUFFER, Id);
 }