Package jgl.context.attrib
Class gl_depthbuffer
java.lang.Object
jgl.context.attrib.gl_depthbuffer
gl_depthbuffer is the depth buffer class of jGL 2.4.
- Version:
- 0.3, 15 Mar 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear_buffer
(int size) void
copy_pixels
(int x, int y, int width, int height) void
draw_pixels
(int width, int height, int size, Object pixels) void
read_pixels
(int x, int y, int width, int height, int size, Object pixels) void
set_buffer
(int size) boolean
Test
(float a, int b)
-
Field Details
-
Enable
public boolean EnableGL_DEPTH_TEST: Depth buffer enabled -
Func
public int FuncGL_DEPTH_FUNC: Depth buffer test function -
Mask
public boolean MaskGL_DEPTH_WRITEMASK: Depth buffer enabled for writing -
Clear
public float ClearGL_DEPTH_CLEAR_VALUE: Depth-buffer clear value -
Buffer
public float[] Buffer
-
-
Constructor Details
-
gl_depthbuffer
-
gl_depthbuffer
-
-
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
-
draw_pixels
-
copy_pixels
public void copy_pixels(int x, int y, int width, int height)
-