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 IGLResourcepublic void load(GraphicsPipeline pipe)
load in interface IGLResourcepublic void unload(GraphicsPipeline pipe)
unload in interface IGLResourcepublic void SetData(com.jogamp.opengl.GL2 gl,
java.nio.Buffer b)
public void Bind(GraphicsPipeline pipe)
Bind in interface IJoglVertexArrayObjectIndexBufferpublic void Unbind(GraphicsPipeline pipe)
Unbind in interface IJoglVertexArrayObjectIndexBufferpublic void Attach(GraphicsPipeline pipe)
Attach in interface IJoglVertexArrayObjectIndexBufferpublic void Draw(com.jogamp.opengl.GL2 gl,
int mode)
Draw in interface IJoglVertexArrayObjectIndexBufferpublic void Draw(com.jogamp.opengl.GL2 gl,
int mode,
int off,
int count)
public void Dispose(com.jogamp.opengl.GL2 gl)
public boolean isDisposed()