Class gl_pixel

java.lang.Object
jgl.context.attrib.gl_pixel

public class gl_pixel extends Object
gl_pixel is the pixels class of jGL 2.4.
Version:
0.3, 3 Dec 2001
Author:
Robin Bing-Yu Chen
  • Field Details

    • MapColor

      public boolean MapColor
      GL_MAP_COLOR: True if colors are mapped
    • MapStencil

      public boolean MapStencil
      GL_MAP_STENCIL: True if stencil values are mapped
    • IndexShift

      public int IndexShift
      GL_INDEX_SHIFT: Value of GL_INDEX_SHIFT
    • IndexOffset

      public int IndexOffset
      GL_INDEX_OFFSET: Value of GL_INDEX_OFFSET
    • ZoomX

      public float ZoomX
      GL_ZOOM_X: x zoom factor
    • ZoomY

      public float ZoomY
      GL_ZOOM_Y: y zoom factor
    • ReadBuffer

      public int ReadBuffer
      GL_READ_BUFFER: Read source buffer
    • Unpack

      public gl_pixel_pack Unpack
      GL_UNPACK_xxx: for GL_UNPACK_xxx
    • Pack

      public gl_pixel_pack Pack
      GL_PACK_xxx: for GL_PACK_xxx
    • Red

      public gl_pixel_transfer Red
      for GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, or GL_DEPTH
    • Green

      public gl_pixel_transfer Green
    • Blue

      public gl_pixel_transfer Blue
    • Alpha

      public gl_pixel_transfer Alpha
    • Depth

      public gl_pixel_transfer 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)