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 doubledepthOffsetBufferObjectelementBufferbooleanenableCullFacebooleanenableDepthTeststatic intMAX_DRAW_ELEMENTSBasicShaderProgramprogramBufferObjectvertexBufferVec3vertexOriginintvertexStride
-
Constructor Summary
Constructors Constructor Description DrawShapeState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcolor(Color color)voiddrawElements(int mode, int count, int type, int offset)voidlineWidth(float width)voidreset()voidtexCoordAttrib(int size, int offset)voidtexCoordMatrix(Matrix3 matrix)voidtexture(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)
-
-