Class gl_current


  • public class gl_current
    extends Object
    gl_current is the current values and associated data class of jGL 2.4.
    Version:
    0.3, 22 Nov 2006
    Author:
    Robin Bing-Yu Chen
    • Field Detail

      • Color

        public float[] Color
        GL_CURRENT_COLOR: Current Color
      • IntColor

        public int IntColor
      • Index

        public int Index
        GL_CURRENT_INDEX: Current color index
      • Vertex

        public float[] Vertex
      • TexCoord

        public float[] TexCoord
        GL_CURRENT_TEXTURE_COORDS: Current texture coordinates
      • Normal

        public float[] Normal
        GL_CURRENT_NORMAL: Current normal
      • RasterPos

        public float[] RasterPos
        GL_CURRENT_RASTER_POSITION: Current raster position
      • RasterDistance

        public float RasterDistance
        GL_CURRENT_RASTER_DISTANCE: Current raster distance
      • RasterColor

        public float[] RasterColor
        GL_CURRENT_RASTER_COLOR: Color associated with raster position
      • RasterIndex

        public float RasterIndex
        GL_CURRENT_RASTER_INDEX: Color index associated with raster position
      • RasterTexCoord

        public float[] RasterTexCoord
        GL_CURRENT_RASTER_TEXTURE_COORDS: Texture coordinates associated with raster position
      • RasterPosValid

        public boolean RasterPosValid
        GL_CURRENT_RASTER_POSITION_VALID: Raster position valid bit
      • EdgeFlag

        public boolean EdgeFlag
        GL_EDGE_FLAG: Edge flag
    • Constructor Detail

      • gl_current

        public gl_current​(gl_current cc)
      • gl_current

        public gl_current()
    • Method Detail

      • set_color

        public void set_color​(float r,
                              float g,
                              float b,
                              float a)