Package gov.nasa.worldwind.draw
Class DrawShapeState
- java.lang.Object
-
- gov.nasa.worldwind.draw.DrawShapeState
-
public class DrawShapeState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double
depthOffset
BufferObject
elementBuffer
boolean
enableCullFace
boolean
enableDepthTest
static int
MAX_DRAW_ELEMENTS
BasicShaderProgram
program
BufferObject
vertexBuffer
Vec3
vertexOrigin
int
vertexStride
-
Constructor Summary
Constructors Constructor Description DrawShapeState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
MAX_DRAW_ELEMENTS
public static final int MAX_DRAW_ELEMENTS
- See Also:
- Constant Field Values
-
program
public BasicShaderProgram program
-
vertexBuffer
public BufferObject vertexBuffer
-
elementBuffer
public BufferObject elementBuffer
-
vertexOrigin
public final Vec3 vertexOrigin
-
vertexStride
public int vertexStride
-
enableCullFace
public boolean enableCullFace
-
enableDepthTest
public boolean enableDepthTest
-
depthOffset
public double depthOffset
-
-
Method Detail
-
reset
public void reset()
-
color
public void color(Color color)
-
lineWidth
public void lineWidth(float width)
-
texture
public void texture(Texture texture)
-
texCoordMatrix
public void texCoordMatrix(Matrix3 matrix)
-
texCoordAttrib
public void texCoordAttrib(int size, int offset)
-
drawElements
public void drawElements(int mode, int count, int type, int offset)
-
-