Package jgl.context.attrib
Class gl_stencilbuffer
java.lang.Object
jgl.context.attrib.gl_stencilbuffer
gl_stencilbuffer is the stenciling buffer class of jGL 2.4.
- Version:
- 0.1, 19 Jun 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionint[]
int
GL_STENCIL_CLEAR_VALUE: Stencil-buffer clear valueboolean
GL_STENCIL_TEST: Stenciling buffer enabledint
GL_STENCIL_FAIL: Stencil fail actionint
GL_STENCIL_FUNC: Stencil functionint
GL_STENCIL_WRITEMASK: Stencil-buffer writingint
GL_STENCIL_REF: Stencil reference valueint
GL_STENCIL_VALUE_MASK: Stencil maskint
GL_STENCIL_PASS_DEPTH_FAIL: Stencil depth buffer fail actionint
GL_STENCIL_PASS_DEPTH_PASS: Stencil depth buffer pass action -
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)
-
Field Details
-
Enable
public boolean EnableGL_STENCIL_TEST: Stenciling buffer enabled -
Func
public int FuncGL_STENCIL_FUNC: Stencil function -
ValueMask
public int ValueMaskGL_STENCIL_VALUE_MASK: Stencil mask -
Ref
public int RefGL_STENCIL_REF: Stencil reference value -
Fail
public int FailGL_STENCIL_FAIL: Stencil fail action -
ZFail
public int ZFailGL_STENCIL_PASS_DEPTH_FAIL: Stencil depth buffer fail action -
ZPass
public int ZPassGL_STENCIL_PASS_DEPTH_PASS: Stencil depth buffer pass action -
Mask
public int MaskGL_STENCIL_WRITEMASK: Stencil-buffer writing -
Clear
public int ClearGL_STENCIL_CLEAR_VALUE: Stencil-buffer clear value -
Buffer
public int[] Buffer
-
-
Constructor Details
-
gl_stencilbuffer
-
gl_stencilbuffer
-
-
Method Details
-
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)
-