Package jgl.context.attrib
Class gl_current
java.lang.Object
jgl.context.attrib.gl_current
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 Summary
Modifier and TypeFieldDescriptionfloat[]
GL_CURRENT_COLOR: Current Colorboolean
GL_EDGE_FLAG: Edge flagint
GL_CURRENT_INDEX: Current color indexint
float[]
GL_CURRENT_NORMAL: Current normalfloat[]
GL_CURRENT_RASTER_COLOR: Color associated with raster positionfloat
GL_CURRENT_RASTER_DISTANCE: Current raster distancefloat
GL_CURRENT_RASTER_INDEX: Color index associated with raster positionfloat[]
GL_CURRENT_RASTER_POSITION: Current raster positionboolean
GL_CURRENT_RASTER_POSITION_VALID: Raster position valid bitfloat[]
GL_CURRENT_RASTER_TEXTURE_COORDS: Texture coordinates associated with raster positionfloat[]
GL_CURRENT_TEXTURE_COORDS: Current texture coordinatesfloat[]
-
Constructor Summary
-
Method Summary
-
Field Details
-
Color
public float[] ColorGL_CURRENT_COLOR: Current Color -
IntColor
public int IntColor -
Index
public int IndexGL_CURRENT_INDEX: Current color index -
Vertex
public float[] Vertex -
TexCoord
public float[] TexCoordGL_CURRENT_TEXTURE_COORDS: Current texture coordinates -
Normal
public float[] NormalGL_CURRENT_NORMAL: Current normal -
RasterPos
public float[] RasterPosGL_CURRENT_RASTER_POSITION: Current raster position -
RasterDistance
public float RasterDistanceGL_CURRENT_RASTER_DISTANCE: Current raster distance -
RasterColor
public float[] RasterColorGL_CURRENT_RASTER_COLOR: Color associated with raster position -
RasterIndex
public float RasterIndexGL_CURRENT_RASTER_INDEX: Color index associated with raster position -
RasterTexCoord
public float[] RasterTexCoordGL_CURRENT_RASTER_TEXTURE_COORDS: Texture coordinates associated with raster position -
RasterPosValid
public boolean RasterPosValidGL_CURRENT_RASTER_POSITION_VALID: Raster position valid bit -
EdgeFlag
public boolean EdgeFlagGL_EDGE_FLAG: Edge flag
-
-
Constructor Details
-
gl_current
-
gl_current
public gl_current()
-
-
Method Details
-
set_color
public void set_color(float r, float g, float b, float a)
-