Package jgl.context.attrib
Class gl_pixel
java.lang.Object
jgl.context.attrib.gl_pixel
gl_pixel is the pixels class of jGL 2.4.
- Version:
- 0.3, 3 Dec 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionint
GL_INDEX_OFFSET: Value of GL_INDEX_OFFSETint
GL_INDEX_SHIFT: Value of GL_INDEX_SHIFTboolean
GL_MAP_COLOR: True if colors are mappedboolean
GL_MAP_STENCIL: True if stencil values are mappedGL_PACK_xxx: for GL_PACK_xxxint
GL_READ_BUFFER: Read source bufferfor GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, or GL_DEPTHGL_UNPACK_xxx: for GL_UNPACK_xxxfloat
GL_ZOOM_X: x zoom factorfloat
GL_ZOOM_Y: y zoom factor -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pack_store
(int pname, int param) GL_PIXEL_MAP_A_TO_A: Pixel map from A to Avoid
pixel_transfer
(int pname, float param)
-
Field Details
-
MapColor
public boolean MapColorGL_MAP_COLOR: True if colors are mapped -
MapStencil
public boolean MapStencilGL_MAP_STENCIL: True if stencil values are mapped -
IndexShift
public int IndexShiftGL_INDEX_SHIFT: Value of GL_INDEX_SHIFT -
IndexOffset
public int IndexOffsetGL_INDEX_OFFSET: Value of GL_INDEX_OFFSET -
ZoomX
public float ZoomXGL_ZOOM_X: x zoom factor -
ZoomY
public float ZoomYGL_ZOOM_Y: y zoom factor -
ReadBuffer
public int ReadBufferGL_READ_BUFFER: Read source buffer -
Unpack
GL_UNPACK_xxx: for GL_UNPACK_xxx -
Pack
GL_PACK_xxx: for GL_PACK_xxx -
Red
for GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, or GL_DEPTH -
Green
-
Blue
-
Alpha
-
Depth
-
-
Constructor Details
-
gl_pixel
public gl_pixel()
-
-
Method Details
-
pack_store
public void pack_store(int pname, int param) GL_PIXEL_MAP_A_TO_A: Pixel map from A to A -
pixel_transfer
public void pixel_transfer(int pname, float param)
-