Class DrawShapeState


  • public class DrawShapeState
    extends java.lang.Object
    • Field Detail

      • vertexOrigin

        public final Vec3 vertexOrigin
      • vertexStride

        public int vertexStride
      • enableCullFace

        public boolean enableCullFace
      • enableDepthTest

        public boolean enableDepthTest
      • depthOffset

        public double depthOffset
    • Constructor Detail

      • DrawShapeState

        public DrawShapeState()
    • 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)