public class DrawShapeState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
BufferObject |
elementBuffer |
boolean |
enableCullFace |
boolean |
enableDepthTest |
static int |
MAX_DRAW_ELEMENTS |
BasicShaderProgram |
program |
BufferObject |
vertexBuffer |
Vec3 |
vertexOrigin |
Constructor and Description |
---|
DrawShapeState() |
Modifier and Type | Method and Description |
---|---|
void |
color(Color color) |
void |
drawElements(int mode,
int count,
int type,
int offset) |
void |
lineWidth(float width) |
void |
reset() |
public static final int MAX_DRAW_ELEMENTS
public BasicShaderProgram program
public BufferObject vertexBuffer
public BufferObject elementBuffer
public Vec3 vertexOrigin
public boolean enableCullFace
public boolean enableDepthTest
public void reset()
public void color(Color color)
public void lineWidth(float width)
public void drawElements(int mode, int count, int type, int offset)