Package jgl.context
Class gl_list
- java.lang.Object
-
- jgl.context.gl_object
-
- jgl.context.gl_list
-
public class gl_list extends gl_object
gl_list is the list class of jGL 2.4.- Version:
- 0.7, 3 Dec 2001
- Author:
- Robin Bing-Yu Chen
-
-
Field Summary
-
Fields inherited from class jgl.context.gl_object
DBflag, debug, ErrorValue, Eval, IDENTITY, Mode, RenderMode, throwExceptionOnGLError
-
-
Constructor Summary
Constructors Constructor Description gl_list(gl_context context, boolean exec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgl_begin(int mode)voidgl_bind_texture(int target, int texture)voidgl_blend_func(int sfactor, int dfactor)voidgl_call_list(int list)voidgl_call_offset(int offset)voidgl_clear_color(float red, float green, float blue, float alpha)voidgl_clear_color_buffer()voidgl_clear_depth(float depth)voidgl_clear_depth_buffer()voidgl_clear_stencil(int s)voidgl_clear_stencil_buffer()voidgl_clip_plane(int plane, float[] equation)voidgl_color(float red, float green, float blue, float alpha)voidgl_color_mask(boolean red, boolean green, boolean blue, boolean alpha)voidgl_color_material(int face, int mode)voidgl_copy_color_pixels(int x, int y, int width, int height)voidgl_copy_depth_pixels(int x, int y, int width, int height)voidgl_copy_stencil_pixels(int x, int y, int width, int height)voidgl_cull_face(int mode)voidgl_depth_func(int func)voidgl_depth_mask(boolean flag)voidgl_depth_range(float n, float f)voidgl_draw_color_pixels(int width, int height, int format, int size, Object pixels)voidgl_draw_depth_pixels(int width, int height, int size, Object pixels)voidgl_draw_index_pixels(int width, int height, int size, Object pixels)voidgl_draw_stencil_pixels(int width, int height, int size, Object pixels)voidgl_enable(int cap, boolean state)voidgl_end()voidgl_exec_list(gl_context CC)voidgl_feedback_buffer(int size, int type, float[] buffer)voidgl_front_face(int mode)float[]gl_get_clip_plane(int plane)float[]gl_get_light(int light, int pname)float[]gl_get_material(int face, int pname)voidgl_index(int c)voidgl_init_names()booleangl_is_enabled(int cap)voidgl_light(int light, int pname, float[] params)voidgl_light_model(int pname, float[] params)voidgl_line_stipple(int factor, short pattern)voidgl_line_width(float width)voidgl_list_base(int base)voidgl_load_identity_matrix()voidgl_load_matrix(float[] m)voidgl_load_name(int name)voidgl_material(int face, int pname, float[] params)voidgl_matrix_mode(int mode)voidgl_mult_matrix(float[] m)voidgl_normal(float x, float y, float z)voidgl_pass_through(float token)voidgl_pixel_store(int pname, int param)voidgl_pixel_transfer(int pname, float param)voidgl_point_size(float size)voidgl_polygon_mode(int face, int mode)voidgl_polygon_stipple(byte[] mask)voidgl_pop_matrix()voidgl_pop_name()voidgl_push_matrix()voidgl_push_name(int name)voidgl_raster_pos(float x, float y, float z, float w)voidgl_read_color_pixels(int x, int y, int width, int height, int format, int size, Object pixels)voidgl_read_depth_pixels(int x, int y, int width, int height, int size, Object pixels)voidgl_read_index_pixels(int x, int y, int width, int height, int size, Object pixels)voidgl_read_stencil_pixels(int x, int y, int width, int height, int size, Object pixels)intgl_render_mode(int mode)voidgl_rotate(float angle, float x, float y, float z)voidgl_scale(float x, float y, float z)voidgl_select_buffer(int size, int[] buffer)voidgl_shade_model(int mode)voidgl_stencil_func(int func, int ref, int mask)voidgl_stencil_mask(int mask)voidgl_stencil_op(int fail, int zfail, int zpass)voidgl_tex_coord(float s, float t, float r, float q)voidgl_tex_env_f(float[] params)voidgl_tex_env_i(int param)voidgl_tex_gen_f(int coord, int pname, float[] params)voidgl_tex_gen_i(int coord, int param)voidgl_tex_image_1d(int target, int level, int components, int width, int border, int format, int size, Object pixels)voidgl_tex_image_2d(int target, int level, int components, int width, int height, int border, int format, int size, Object pixels)voidgl_tex_image_3d(int target, int level, int components, int width, int height, int depth, int border, int format, int size, Object pixels)voidgl_tex_parameter(int target, int pname, float[] params)voidgl_tex_sub_image_1d(int target, int level, int xoffset, int width, int format, int size, Object pixels)voidgl_tex_sub_image_2d(int target, int level, int xoffset, int yoffset, int width, int height, int format, int size, Object pixels)voidgl_tex_sub_image_3d(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int size, Object pixels)voidgl_translate(float x, float y, float z)voidgl_vertex(float x, float y, float z, float w)voidgl_viewport(int x, int y, int width, int height)-
Methods inherited from class jgl.context.gl_object
errorCodeToString, get_rotate, get_scale, get_translate, getThrowExceptionOnGLError, gl_error, gl_eval_coord_1, gl_eval_coord_2, gl_eval_mesh_1, gl_eval_mesh_2, setThrowExceptionOnGLError
-
-
-
-
Constructor Detail
-
gl_list
public gl_list(gl_context context, boolean exec)
-
-
Method Detail
-
gl_exec_list
public void gl_exec_list(gl_context CC)
-
gl_clear_color
public void gl_clear_color(float red, float green, float blue, float alpha)- Specified by:
gl_clear_colorin classgl_object
-
gl_clear_depth_buffer
public void gl_clear_depth_buffer()
- Specified by:
gl_clear_depth_bufferin classgl_object
-
gl_clear_color_buffer
public void gl_clear_color_buffer()
- Specified by:
gl_clear_color_bufferin classgl_object
-
gl_clear_stencil_buffer
public void gl_clear_stencil_buffer()
- Specified by:
gl_clear_stencil_bufferin classgl_object
-
gl_color_mask
public void gl_color_mask(boolean red, boolean green, boolean blue, boolean alpha)- Specified by:
gl_color_maskin classgl_object
-
gl_blend_func
public void gl_blend_func(int sfactor, int dfactor)- Specified by:
gl_blend_funcin classgl_object
-
gl_cull_face
public void gl_cull_face(int mode)
- Specified by:
gl_cull_facein classgl_object
-
gl_front_face
public void gl_front_face(int mode)
- Specified by:
gl_front_facein classgl_object
-
gl_point_size
public void gl_point_size(float size)
- Specified by:
gl_point_sizein classgl_object
-
gl_line_width
public void gl_line_width(float width)
- Specified by:
gl_line_widthin classgl_object
-
gl_line_stipple
public void gl_line_stipple(int factor, short pattern)- Specified by:
gl_line_stipplein classgl_object
-
gl_polygon_mode
public void gl_polygon_mode(int face, int mode)- Specified by:
gl_polygon_modein classgl_object
-
gl_polygon_stipple
public void gl_polygon_stipple(byte[] mask)
- Specified by:
gl_polygon_stipplein classgl_object
-
gl_clip_plane
public void gl_clip_plane(int plane, float[] equation)- Specified by:
gl_clip_planein classgl_object
-
gl_get_clip_plane
public float[] gl_get_clip_plane(int plane)
- Specified by:
gl_get_clip_planein classgl_object
-
gl_is_enabled
public boolean gl_is_enabled(int cap)
- Specified by:
gl_is_enabledin classgl_object
-
gl_render_mode
public int gl_render_mode(int mode)
- Specified by:
gl_render_modein classgl_object
-
gl_clear_depth
public void gl_clear_depth(float depth)
- Specified by:
gl_clear_depthin classgl_object
-
gl_depth_func
public void gl_depth_func(int func)
- Specified by:
gl_depth_funcin classgl_object
-
gl_depth_mask
public void gl_depth_mask(boolean flag)
- Specified by:
gl_depth_maskin classgl_object
-
gl_depth_range
public void gl_depth_range(float n, float f)- Specified by:
gl_depth_rangein classgl_object
-
gl_matrix_mode
public void gl_matrix_mode(int mode)
- Specified by:
gl_matrix_modein classgl_object
-
gl_mult_matrix
public void gl_mult_matrix(float[] m)
- Specified by:
gl_mult_matrixin classgl_object
-
gl_viewport
public void gl_viewport(int x, int y, int width, int height)- Specified by:
gl_viewportin classgl_object
-
gl_push_matrix
public void gl_push_matrix()
- Specified by:
gl_push_matrixin classgl_object
-
gl_pop_matrix
public void gl_pop_matrix()
- Specified by:
gl_pop_matrixin classgl_object
-
gl_load_identity_matrix
public void gl_load_identity_matrix()
- Specified by:
gl_load_identity_matrixin classgl_object
-
gl_load_matrix
public void gl_load_matrix(float[] m)
- Specified by:
gl_load_matrixin classgl_object
-
gl_rotate
public void gl_rotate(float angle, float x, float y, float z)
-
gl_translate
public void gl_translate(float x, float y, float z)- Specified by:
gl_translatein classgl_object
-
gl_call_list
public void gl_call_list(int list)
- Specified by:
gl_call_listin classgl_object
-
gl_call_offset
public void gl_call_offset(int offset)
- Specified by:
gl_call_offsetin classgl_object
-
gl_list_base
public void gl_list_base(int base)
- Specified by:
gl_list_basein classgl_object
-
gl_vertex
public void gl_vertex(float x, float y, float z, float w)
-
gl_normal
public void gl_normal(float x, float y, float z)
-
gl_color
public void gl_color(float red, float green, float blue, float alpha)
-
gl_tex_coord
public void gl_tex_coord(float s, float t, float r, float q)- Specified by:
gl_tex_coordin classgl_object
-
gl_raster_pos
public void gl_raster_pos(float x, float y, float z, float w)- Specified by:
gl_raster_posin classgl_object
-
gl_shade_model
public void gl_shade_model(int mode)
- Specified by:
gl_shade_modelin classgl_object
-
gl_light
public void gl_light(int light, int pname, float[] params)
-
gl_get_light
public float[] gl_get_light(int light, int pname)- Specified by:
gl_get_lightin classgl_object
-
gl_light_model
public void gl_light_model(int pname, float[] params)- Specified by:
gl_light_modelin classgl_object
-
gl_material
public void gl_material(int face, int pname, float[] params)- Specified by:
gl_materialin classgl_object
-
gl_get_material
public float[] gl_get_material(int face, int pname)- Specified by:
gl_get_materialin classgl_object
-
gl_color_material
public void gl_color_material(int face, int mode)- Specified by:
gl_color_materialin classgl_object
-
gl_pixel_store
public void gl_pixel_store(int pname, int param)- Specified by:
gl_pixel_storein classgl_object
-
gl_pixel_transfer
public void gl_pixel_transfer(int pname, float param)- Specified by:
gl_pixel_transferin classgl_object
-
gl_read_index_pixels
public void gl_read_index_pixels(int x, int y, int width, int height, int size, Object pixels)- Specified by:
gl_read_index_pixelsin classgl_object
-
gl_read_color_pixels
public void gl_read_color_pixels(int x, int y, int width, int height, int format, int size, Object pixels)- Specified by:
gl_read_color_pixelsin classgl_object
-
gl_read_stencil_pixels
public void gl_read_stencil_pixels(int x, int y, int width, int height, int size, Object pixels)- Specified by:
gl_read_stencil_pixelsin classgl_object
-
gl_read_depth_pixels
public void gl_read_depth_pixels(int x, int y, int width, int height, int size, Object pixels)- Specified by:
gl_read_depth_pixelsin classgl_object
-
gl_draw_index_pixels
public void gl_draw_index_pixels(int width, int height, int size, Object pixels)- Specified by:
gl_draw_index_pixelsin classgl_object
-
gl_draw_color_pixels
public void gl_draw_color_pixels(int width, int height, int format, int size, Object pixels)- Specified by:
gl_draw_color_pixelsin classgl_object
-
gl_draw_stencil_pixels
public void gl_draw_stencil_pixels(int width, int height, int size, Object pixels)- Specified by:
gl_draw_stencil_pixelsin classgl_object
-
gl_draw_depth_pixels
public void gl_draw_depth_pixels(int width, int height, int size, Object pixels)- Specified by:
gl_draw_depth_pixelsin classgl_object
-
gl_copy_color_pixels
public void gl_copy_color_pixels(int x, int y, int width, int height)- Specified by:
gl_copy_color_pixelsin classgl_object
-
gl_copy_stencil_pixels
public void gl_copy_stencil_pixels(int x, int y, int width, int height)- Specified by:
gl_copy_stencil_pixelsin classgl_object
-
gl_copy_depth_pixels
public void gl_copy_depth_pixels(int x, int y, int width, int height)- Specified by:
gl_copy_depth_pixelsin classgl_object
-
gl_stencil_func
public void gl_stencil_func(int func, int ref, int mask)- Specified by:
gl_stencil_funcin classgl_object
-
gl_stencil_mask
public void gl_stencil_mask(int mask)
- Specified by:
gl_stencil_maskin classgl_object
-
gl_stencil_op
public void gl_stencil_op(int fail, int zfail, int zpass)- Specified by:
gl_stencil_opin classgl_object
-
gl_clear_stencil
public void gl_clear_stencil(int s)
- Specified by:
gl_clear_stencilin classgl_object
-
gl_tex_gen_i
public void gl_tex_gen_i(int coord, int param)- Specified by:
gl_tex_gen_iin classgl_object
-
gl_tex_gen_f
public void gl_tex_gen_f(int coord, int pname, float[] params)- Specified by:
gl_tex_gen_fin classgl_object
-
gl_tex_env_i
public void gl_tex_env_i(int param)
- Specified by:
gl_tex_env_iin classgl_object
-
gl_tex_env_f
public void gl_tex_env_f(float[] params)
- Specified by:
gl_tex_env_fin classgl_object
-
gl_tex_parameter
public void gl_tex_parameter(int target, int pname, float[] params)- Specified by:
gl_tex_parameterin classgl_object
-
gl_tex_image_1d
public void gl_tex_image_1d(int target, int level, int components, int width, int border, int format, int size, Object pixels)- Specified by:
gl_tex_image_1din classgl_object
-
gl_tex_image_2d
public void gl_tex_image_2d(int target, int level, int components, int width, int height, int border, int format, int size, Object pixels)- Specified by:
gl_tex_image_2din classgl_object
-
gl_tex_image_3d
public void gl_tex_image_3d(int target, int level, int components, int width, int height, int depth, int border, int format, int size, Object pixels)- Specified by:
gl_tex_image_3din classgl_object
-
gl_bind_texture
public void gl_bind_texture(int target, int texture)- Specified by:
gl_bind_texturein classgl_object
-
gl_tex_sub_image_1d
public void gl_tex_sub_image_1d(int target, int level, int xoffset, int width, int format, int size, Object pixels)- Specified by:
gl_tex_sub_image_1din classgl_object
-
gl_tex_sub_image_2d
public void gl_tex_sub_image_2d(int target, int level, int xoffset, int yoffset, int width, int height, int format, int size, Object pixels)- Specified by:
gl_tex_sub_image_2din classgl_object
-
gl_tex_sub_image_3d
public void gl_tex_sub_image_3d(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int size, Object pixels)- Specified by:
gl_tex_sub_image_3din classgl_object
-
gl_feedback_buffer
public void gl_feedback_buffer(int size, int type, float[] buffer)- Specified by:
gl_feedback_bufferin classgl_object
-
gl_pass_through
public void gl_pass_through(float token)
- Specified by:
gl_pass_throughin classgl_object
-
gl_select_buffer
public void gl_select_buffer(int size, int[] buffer)- Specified by:
gl_select_bufferin classgl_object
-
gl_init_names
public void gl_init_names()
- Specified by:
gl_init_namesin classgl_object
-
gl_load_name
public void gl_load_name(int name)
- Specified by:
gl_load_namein classgl_object
-
gl_push_name
public void gl_push_name(int name)
- Specified by:
gl_push_namein classgl_object
-
gl_pop_name
public void gl_pop_name()
- Specified by:
gl_pop_namein classgl_object
-
-