Package de.coreengine.util.gl
Class IndexBuffer
- java.lang.Object
-
- de.coreengine.util.gl.IndexBuffer
-
public class IndexBuffer extends Object
Class that represent an opengl index buffer- Author:
- Darius Dinger
-
-
Constructor Summary
Constructors Constructor Description IndexBuffer(int id, int size)
Creates new Index buffer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind()
Binds IndexBuffer to openglint
getId()
int
getSize()
void
unbind()
Unbinds IndexBuffer from opengl (bind 0)
-