public class JoglVertexArrayObjectIndexBuffer extends java.lang.Object implements IJoglVertexArrayObjectIndexBuffer
Constructor and Description |
---|
JoglVertexArrayObjectIndexBuffer(GraphicsPipeline pipe,
java.lang.Class<?> keyType) |
Modifier and Type | Method and Description |
---|---|
void |
Attach(GraphicsPipeline pipe) |
void |
Bind(GraphicsPipeline pipe) |
void |
Dispose(com.jogamp.opengl.GL2 gl) |
void |
Draw(com.jogamp.opengl.GL2 gl,
int mode) |
void |
Draw(com.jogamp.opengl.GL2 gl,
int mode,
int off,
int count) |
boolean |
isDisposed() |
boolean |
isLoaded() |
void |
load(GraphicsPipeline pipe) |
void |
SetData(com.jogamp.opengl.GL2 gl,
java.nio.Buffer b) |
void |
Unbind(GraphicsPipeline pipe) |
void |
unload(GraphicsPipeline pipe) |
public JoglVertexArrayObjectIndexBuffer(GraphicsPipeline pipe, java.lang.Class<?> keyType)
public boolean isLoaded()
isLoaded
in interface IGLResource
public void load(GraphicsPipeline pipe)
load
in interface IGLResource
public void unload(GraphicsPipeline pipe)
unload
in interface IGLResource
public void SetData(com.jogamp.opengl.GL2 gl, java.nio.Buffer b)
public void Bind(GraphicsPipeline pipe)
Bind
in interface IJoglVertexArrayObjectIndexBuffer
public void Unbind(GraphicsPipeline pipe)
Unbind
in interface IJoglVertexArrayObjectIndexBuffer
public void Attach(GraphicsPipeline pipe)
Attach
in interface IJoglVertexArrayObjectIndexBuffer
public void Draw(com.jogamp.opengl.GL2 gl, int mode)
Draw
in interface IJoglVertexArrayObjectIndexBuffer
public void Draw(com.jogamp.opengl.GL2 gl, int mode, int off, int count)
public void Dispose(com.jogamp.opengl.GL2 gl)
public boolean isDisposed()