Package jgl.context.attrib
Class gl_raster
java.lang.Object
jgl.context.attrib.gl_raster
gl_raster is the rasterization class of jGL 2.4.
- Version:
- 0.3, 15 Mar 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionint
boolean
GL_CULL_FACE: Polygon culling enabledint
GL_CULL_FACE_MODE: Cull front-/back-facing polygonsint
GL_FRONT_FACE: Polygon front-face CW/CCW indicatorint
GL_POLYGON_MODE: Polygon rasterization mode (front and back)boolean
GL_LINE_SMOOTH: Line antialiasing onboolean
GL_LINE_STIPPLE: Line stipple enableshort
GL_LINE_STIPPLE_PATTERN: Line stippleint
GL_LINE_STIPPLE_REPEAT: Line stipple repeatfloat
GL_LINE_WIDTH: Line widthfloat
GL_POINT_SIZE: Point sizeboolean
GL_POINT_SMOOTH: Point antialiasing onboolean
GL_POLYGON_SMOOTH: Polygon antialiasing onboolean
GL_POLYGON_STIPPLE: Polygon stipple enablebyte[][]
Polygon stipple pattern -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pop_line_attrib
(gl_list_item AttribItem) void
pop_point_attrib
(gl_list_item AttribItem) void
pop_polygon_attrib
(gl_list_item AttribItem) void
pop_polygon_stipple_attrib
(gl_list_item AttribItem) void
push_line_attrib
(gl_list_item AttribItem) void
push_point_attrib
(gl_list_item AttribItem) void
push_polygon_attrib
(gl_list_item AttribItem) void
push_polygon_stipple_attrib
(gl_list_item AttribItem) void
set_polygon_mode
(int face, int mode) void
set_polygon_stipple
(byte[] mask)
-
Field Details
-
PointSize
public float PointSizeGL_POINT_SIZE: Point size -
PointSmooth
public boolean PointSmoothGL_POINT_SMOOTH: Point antialiasing on -
LineWidth
public float LineWidthGL_LINE_WIDTH: Line width -
LineSmooth
public boolean LineSmoothGL_LINE_SMOOTH: Line antialiasing on -
LineStipplePattern
public short LineStipplePatternGL_LINE_STIPPLE_PATTERN: Line stipple -
LineStippleRepeat
public int LineStippleRepeatGL_LINE_STIPPLE_REPEAT: Line stipple repeat -
LineStipple
public boolean LineStippleGL_LINE_STIPPLE: Line stipple enable -
CullFace
public boolean CullFaceGL_CULL_FACE: Polygon culling enabled -
CullFaceMode
public int CullFaceModeGL_CULL_FACE_MODE: Cull front-/back-facing polygons -
FrontFace
public int FrontFaceGL_FRONT_FACE: Polygon front-face CW/CCW indicator -
PolygonSmooth
public boolean PolygonSmoothGL_POLYGON_SMOOTH: Polygon antialiasing on -
FrontMode
public int FrontModeGL_POLYGON_MODE: Polygon rasterization mode (front and back) -
BackMode
public int BackMode -
PolygonStipple
public boolean PolygonStippleGL_POLYGON_STIPPLE: Polygon stipple enable -
PolygonStipplePattern
public byte[][] PolygonStipplePatternPolygon stipple pattern
-
-
Constructor Details
-
gl_raster
public gl_raster()
-
-
Method Details
-
set_polygon_mode
public void set_polygon_mode(int face, int mode) -
set_polygon_stipple
public void set_polygon_stipple(byte[] mask) -
push_point_attrib
-
pop_point_attrib
-
push_line_attrib
-
pop_line_attrib
-
push_polygon_attrib
-
pop_polygon_attrib
-
push_polygon_stipple_attrib
-
pop_polygon_stipple_attrib
-