public class DrawShapeState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
depthOffset |
BufferObject |
elementBuffer |
boolean |
enableCullFace |
boolean |
enableDepthTest |
static int |
MAX_DRAW_ELEMENTS |
BasicShaderProgram |
program |
BufferObject |
vertexBuffer |
Vec3 |
vertexOrigin |
int |
vertexStride |
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() |
void |
texCoordAttrib(int size,
int offset) |
void |
texCoordMatrix(Matrix3 matrix) |
void |
texture(Texture texture) |
public static final int MAX_DRAW_ELEMENTS
public BasicShaderProgram program
public BufferObject vertexBuffer
public BufferObject elementBuffer
public Vec3 vertexOrigin
public int vertexStride
public boolean enableCullFace
public boolean enableDepthTest
public double depthOffset
public void reset()
public void color(Color color)
public void lineWidth(float width)
public void texture(Texture texture)
public void texCoordMatrix(Matrix3 matrix)
public void texCoordAttrib(int size, int offset)
public void drawElements(int mode, int count, int type, int offset)