Class gl_depthbuffer

java.lang.Object
jgl.context.attrib.gl_depthbuffer

public class gl_depthbuffer extends Object
gl_depthbuffer is the depth buffer class of jGL 2.4.
Version:
0.3, 15 Mar 2001
Author:
Robin Bing-Yu Chen
  • Field Details

    • Enable

      public boolean Enable
      GL_DEPTH_TEST: Depth buffer enabled
    • Func

      public int Func
      GL_DEPTH_FUNC: Depth buffer test function
    • Mask

      public boolean Mask
      GL_DEPTH_WRITEMASK: Depth buffer enabled for writing
    • Clear

      public float Clear
      GL_DEPTH_CLEAR_VALUE: Depth-buffer clear value
    • Buffer

      public float[] Buffer
  • Constructor Details

  • Method Details

    • Test

      public boolean Test(float a, int b)
    • set_buffer

      public void set_buffer(int size)
    • clear_buffer

      public void clear_buffer(int size)
    • read_pixels

      public void read_pixels(int x, int y, int width, int height, int size, Object pixels)
    • draw_pixels

      public void draw_pixels(int width, int height, int size, Object pixels)
    • copy_pixels

      public void copy_pixels(int x, int y, int width, int height)