Package jgl.context
Class gl_list
java.lang.Object
jgl.context.gl_object
jgl.context.gl_list
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
gl_begin
(int mode) void
gl_bind_texture
(int target, int texture) void
gl_blend_func
(int sfactor, int dfactor) void
gl_call_list
(int list) void
gl_call_offset
(int offset) void
gl_clear_color
(float red, float green, float blue, float alpha) void
void
gl_clear_depth
(float depth) void
void
gl_clear_stencil
(int s) void
void
gl_clip_plane
(int plane, float[] equation) void
gl_color
(float red, float green, float blue, float alpha) void
gl_color_mask
(boolean red, boolean green, boolean blue, boolean alpha) void
gl_color_material
(int face, int mode) void
gl_copy_color_pixels
(int x, int y, int width, int height) void
gl_copy_depth_pixels
(int x, int y, int width, int height) void
gl_copy_stencil_pixels
(int x, int y, int width, int height) void
gl_cull_face
(int mode) void
gl_depth_func
(int func) void
gl_depth_mask
(boolean flag) void
gl_depth_range
(float n, float f) void
gl_draw_color_pixels
(int width, int height, int format, int size, Object pixels) void
gl_draw_depth_pixels
(int width, int height, int size, Object pixels) void
gl_draw_index_pixels
(int width, int height, int size, Object pixels) void
gl_draw_stencil_pixels
(int width, int height, int size, Object pixels) void
gl_enable
(int cap, boolean state) void
gl_end()
void
void
gl_feedback_buffer
(int size, int type, float[] buffer) void
gl_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) void
gl_index
(int c) void
boolean
gl_is_enabled
(int cap) void
gl_light
(int light, int pname, float[] params) void
gl_light_model
(int pname, float[] params) void
gl_line_stipple
(int factor, short pattern) void
gl_line_width
(float width) void
gl_list_base
(int base) void
void
gl_load_matrix
(float[] m) void
gl_load_name
(int name) void
gl_material
(int face, int pname, float[] params) void
gl_matrix_mode
(int mode) void
gl_mult_matrix
(float[] m) void
gl_normal
(float x, float y, float z) void
gl_pass_through
(float token) void
gl_pixel_store
(int pname, int param) void
gl_pixel_transfer
(int pname, float param) void
gl_point_size
(float size) void
gl_polygon_mode
(int face, int mode) void
gl_polygon_stipple
(byte[] mask) void
void
void
void
gl_push_name
(int name) void
gl_raster_pos
(float x, float y, float z, float w) void
gl_read_color_pixels
(int x, int y, int width, int height, int format, int size, Object pixels) void
gl_read_depth_pixels
(int x, int y, int width, int height, int size, Object pixels) void
gl_read_index_pixels
(int x, int y, int width, int height, int size, Object pixels) void
gl_read_stencil_pixels
(int x, int y, int width, int height, int size, Object pixels) int
gl_render_mode
(int mode) void
gl_rotate
(float angle, float x, float y, float z) void
gl_scale
(float x, float y, float z) void
gl_select_buffer
(int size, int[] buffer) void
gl_shade_model
(int mode) void
gl_stencil_func
(int func, int ref, int mask) void
gl_stencil_mask
(int mask) void
gl_stencil_op
(int fail, int zfail, int zpass) void
gl_tex_coord
(float s, float t, float r, float q) void
gl_tex_env_f
(float[] params) void
gl_tex_env_i
(int param) void
gl_tex_gen_f
(int coord, int pname, float[] params) void
gl_tex_gen_i
(int coord, int param) void
gl_tex_image_1d
(int target, int level, int components, int width, int border, int format, int size, Object pixels) void
gl_tex_image_2d
(int target, int level, int components, int width, int height, int border, int format, int size, Object pixels) 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) void
gl_tex_parameter
(int target, int pname, float[] params) void
gl_tex_sub_image_1d
(int target, int level, int xoffset, int width, int format, int size, Object pixels) void
gl_tex_sub_image_2d
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int size, Object pixels) 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) void
gl_translate
(float x, float y, float z) void
gl_vertex
(float x, float y, float z, float w) void
gl_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 Details
-
gl_list
-
-
Method Details
-
gl_exec_list
-
gl_clear_color
public void gl_clear_color(float red, float green, float blue, float alpha) - Specified by:
gl_clear_color
in classgl_object
-
gl_clear_depth_buffer
public void gl_clear_depth_buffer()- Specified by:
gl_clear_depth_buffer
in classgl_object
-
gl_clear_color_buffer
public void gl_clear_color_buffer()- Specified by:
gl_clear_color_buffer
in classgl_object
-
gl_clear_stencil_buffer
public void gl_clear_stencil_buffer()- Specified by:
gl_clear_stencil_buffer
in classgl_object
-
gl_color_mask
public void gl_color_mask(boolean red, boolean green, boolean blue, boolean alpha) - Specified by:
gl_color_mask
in classgl_object
-
gl_blend_func
public void gl_blend_func(int sfactor, int dfactor) - Specified by:
gl_blend_func
in classgl_object
-
gl_cull_face
public void gl_cull_face(int mode) - Specified by:
gl_cull_face
in classgl_object
-
gl_front_face
public void gl_front_face(int mode) - Specified by:
gl_front_face
in classgl_object
-
gl_point_size
public void gl_point_size(float size) - Specified by:
gl_point_size
in classgl_object
-
gl_line_width
public void gl_line_width(float width) - Specified by:
gl_line_width
in classgl_object
-
gl_line_stipple
public void gl_line_stipple(int factor, short pattern) - Specified by:
gl_line_stipple
in classgl_object
-
gl_polygon_mode
public void gl_polygon_mode(int face, int mode) - Specified by:
gl_polygon_mode
in classgl_object
-
gl_polygon_stipple
public void gl_polygon_stipple(byte[] mask) - Specified by:
gl_polygon_stipple
in classgl_object
-
gl_clip_plane
public void gl_clip_plane(int plane, float[] equation) - Specified by:
gl_clip_plane
in classgl_object
-
gl_get_clip_plane
public float[] gl_get_clip_plane(int plane) - Specified by:
gl_get_clip_plane
in classgl_object
-
gl_enable
public void gl_enable(int cap, boolean state) -
gl_is_enabled
public boolean gl_is_enabled(int cap) - Specified by:
gl_is_enabled
in classgl_object
-
gl_render_mode
public int gl_render_mode(int mode) - Specified by:
gl_render_mode
in classgl_object
-
gl_clear_depth
public void gl_clear_depth(float depth) - Specified by:
gl_clear_depth
in classgl_object
-
gl_depth_func
public void gl_depth_func(int func) - Specified by:
gl_depth_func
in classgl_object
-
gl_depth_mask
public void gl_depth_mask(boolean flag) - Specified by:
gl_depth_mask
in classgl_object
-
gl_depth_range
public void gl_depth_range(float n, float f) - Specified by:
gl_depth_range
in classgl_object
-
gl_matrix_mode
public void gl_matrix_mode(int mode) - Specified by:
gl_matrix_mode
in classgl_object
-
gl_mult_matrix
public void gl_mult_matrix(float[] m) - Specified by:
gl_mult_matrix
in classgl_object
-
gl_viewport
public void gl_viewport(int x, int y, int width, int height) - Specified by:
gl_viewport
in classgl_object
-
gl_push_matrix
public void gl_push_matrix()- Specified by:
gl_push_matrix
in classgl_object
-
gl_pop_matrix
public void gl_pop_matrix()- Specified by:
gl_pop_matrix
in classgl_object
-
gl_load_identity_matrix
public void gl_load_identity_matrix()- Specified by:
gl_load_identity_matrix
in classgl_object
-
gl_load_matrix
public void gl_load_matrix(float[] m) - Specified by:
gl_load_matrix
in classgl_object
-
gl_rotate
public void gl_rotate(float angle, float x, float y, float z) -
gl_scale
public void gl_scale(float x, float y, float z) -
gl_translate
public void gl_translate(float x, float y, float z) - Specified by:
gl_translate
in classgl_object
-
gl_call_list
public void gl_call_list(int list) - Specified by:
gl_call_list
in classgl_object
-
gl_call_offset
public void gl_call_offset(int offset) - Specified by:
gl_call_offset
in classgl_object
-
gl_list_base
public void gl_list_base(int base) - Specified by:
gl_list_base
in classgl_object
-
gl_begin
public void gl_begin(int mode) -
gl_end
public void gl_end() -
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_index
public void gl_index(int c) -
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_coord
in classgl_object
-
gl_raster_pos
public void gl_raster_pos(float x, float y, float z, float w) - Specified by:
gl_raster_pos
in classgl_object
-
gl_shade_model
public void gl_shade_model(int mode) - Specified by:
gl_shade_model
in 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_light
in classgl_object
-
gl_light_model
public void gl_light_model(int pname, float[] params) - Specified by:
gl_light_model
in classgl_object
-
gl_material
public void gl_material(int face, int pname, float[] params) - Specified by:
gl_material
in classgl_object
-
gl_get_material
public float[] gl_get_material(int face, int pname) - Specified by:
gl_get_material
in classgl_object
-
gl_color_material
public void gl_color_material(int face, int mode) - Specified by:
gl_color_material
in classgl_object
-
gl_pixel_store
public void gl_pixel_store(int pname, int param) - Specified by:
gl_pixel_store
in classgl_object
-
gl_pixel_transfer
public void gl_pixel_transfer(int pname, float param) - Specified by:
gl_pixel_transfer
in classgl_object
-
gl_read_index_pixels
- Specified by:
gl_read_index_pixels
in 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_pixels
in classgl_object
-
gl_read_stencil_pixels
- Specified by:
gl_read_stencil_pixels
in classgl_object
-
gl_read_depth_pixels
- Specified by:
gl_read_depth_pixels
in classgl_object
-
gl_draw_index_pixels
- Specified by:
gl_draw_index_pixels
in classgl_object
-
gl_draw_color_pixels
- Specified by:
gl_draw_color_pixels
in classgl_object
-
gl_draw_stencil_pixels
- Specified by:
gl_draw_stencil_pixels
in classgl_object
-
gl_draw_depth_pixels
- Specified by:
gl_draw_depth_pixels
in 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_pixels
in 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_pixels
in 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_pixels
in classgl_object
-
gl_stencil_func
public void gl_stencil_func(int func, int ref, int mask) - Specified by:
gl_stencil_func
in classgl_object
-
gl_stencil_mask
public void gl_stencil_mask(int mask) - Specified by:
gl_stencil_mask
in classgl_object
-
gl_stencil_op
public void gl_stencil_op(int fail, int zfail, int zpass) - Specified by:
gl_stencil_op
in classgl_object
-
gl_clear_stencil
public void gl_clear_stencil(int s) - Specified by:
gl_clear_stencil
in classgl_object
-
gl_tex_gen_i
public void gl_tex_gen_i(int coord, int param) - Specified by:
gl_tex_gen_i
in classgl_object
-
gl_tex_gen_f
public void gl_tex_gen_f(int coord, int pname, float[] params) - Specified by:
gl_tex_gen_f
in classgl_object
-
gl_tex_env_i
public void gl_tex_env_i(int param) - Specified by:
gl_tex_env_i
in classgl_object
-
gl_tex_env_f
public void gl_tex_env_f(float[] params) - Specified by:
gl_tex_env_f
in classgl_object
-
gl_tex_parameter
public void gl_tex_parameter(int target, int pname, float[] params) - Specified by:
gl_tex_parameter
in 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_1d
in 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_2d
in 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_3d
in classgl_object
-
gl_bind_texture
public void gl_bind_texture(int target, int texture) - Specified by:
gl_bind_texture
in 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_1d
in 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_2d
in 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_3d
in classgl_object
-
gl_feedback_buffer
public void gl_feedback_buffer(int size, int type, float[] buffer) - Specified by:
gl_feedback_buffer
in classgl_object
-
gl_pass_through
public void gl_pass_through(float token) - Specified by:
gl_pass_through
in classgl_object
-
gl_select_buffer
public void gl_select_buffer(int size, int[] buffer) - Specified by:
gl_select_buffer
in classgl_object
-
gl_init_names
public void gl_init_names()- Specified by:
gl_init_names
in classgl_object
-
gl_load_name
public void gl_load_name(int name) - Specified by:
gl_load_name
in classgl_object
-
gl_push_name
public void gl_push_name(int name) - Specified by:
gl_push_name
in classgl_object
-
gl_pop_name
public void gl_pop_name()- Specified by:
gl_pop_name
in classgl_object
-