Package jgl.context

Class 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
    • 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_color in class gl_object
      • gl_color_mask

        public void gl_color_mask​(boolean red,
                                  boolean green,
                                  boolean blue,
                                  boolean alpha)
        Specified by:
        gl_color_mask in class gl_object
      • gl_blend_func

        public void gl_blend_func​(int sfactor,
                                  int dfactor)
        Specified by:
        gl_blend_func in class gl_object
      • gl_line_stipple

        public void gl_line_stipple​(int factor,
                                    short pattern)
        Specified by:
        gl_line_stipple in class gl_object
      • gl_polygon_mode

        public void gl_polygon_mode​(int face,
                                    int mode)
        Specified by:
        gl_polygon_mode in class gl_object
      • gl_clip_plane

        public void gl_clip_plane​(int plane,
                                  float[] equation)
        Specified by:
        gl_clip_plane in class gl_object
      • gl_enable

        public void gl_enable​(int cap,
                              boolean state)
        Specified by:
        gl_enable in class gl_object
      • gl_depth_mask

        public void gl_depth_mask​(boolean flag)
        Specified by:
        gl_depth_mask in class gl_object
      • gl_depth_range

        public void gl_depth_range​(float n,
                                   float f)
        Specified by:
        gl_depth_range in class gl_object
      • gl_viewport

        public void gl_viewport​(int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        gl_viewport in class gl_object
      • gl_rotate

        public void gl_rotate​(float angle,
                              float x,
                              float y,
                              float z)
        Specified by:
        gl_rotate in class gl_object
      • gl_scale

        public void gl_scale​(float x,
                             float y,
                             float z)
        Specified by:
        gl_scale in class gl_object
      • gl_translate

        public void gl_translate​(float x,
                                 float y,
                                 float z)
        Specified by:
        gl_translate in class gl_object
      • gl_begin

        public void gl_begin​(int mode)
        Specified by:
        gl_begin in class gl_object
      • gl_vertex

        public void gl_vertex​(float x,
                              float y,
                              float z,
                              float w)
        Specified by:
        gl_vertex in class gl_object
      • gl_normal

        public void gl_normal​(float x,
                              float y,
                              float z)
        Specified by:
        gl_normal in class gl_object
      • gl_index

        public void gl_index​(int c)
        Specified by:
        gl_index in class gl_object
      • gl_color

        public void gl_color​(float red,
                             float green,
                             float blue,
                             float alpha)
        Specified by:
        gl_color in class gl_object
      • gl_tex_coord

        public void gl_tex_coord​(float s,
                                 float t,
                                 float r,
                                 float q)
        Specified by:
        gl_tex_coord in class gl_object
      • gl_raster_pos

        public void gl_raster_pos​(float x,
                                  float y,
                                  float z,
                                  float w)
        Specified by:
        gl_raster_pos in class gl_object
      • gl_light

        public void gl_light​(int light,
                             int pname,
                             float[] params)
        Specified by:
        gl_light in class gl_object
      • gl_get_light

        public float[] gl_get_light​(int light,
                                    int pname)
        Specified by:
        gl_get_light in class gl_object
      • gl_light_model

        public void gl_light_model​(int pname,
                                   float[] params)
        Specified by:
        gl_light_model in class gl_object
      • gl_material

        public void gl_material​(int face,
                                int pname,
                                float[] params)
        Specified by:
        gl_material in class gl_object
      • gl_get_material

        public float[] gl_get_material​(int face,
                                       int pname)
        Specified by:
        gl_get_material in class gl_object
      • gl_pixel_store

        public void gl_pixel_store​(int pname,
                                   int param)
        Specified by:
        gl_pixel_store in class gl_object
      • gl_pixel_transfer

        public void gl_pixel_transfer​(int pname,
                                      float param)
        Specified by:
        gl_pixel_transfer in class gl_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_pixels in class gl_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 class gl_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_pixels in class gl_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_pixels in class gl_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_pixels in class gl_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 class gl_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 class gl_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 class gl_object
      • gl_stencil_func

        public void gl_stencil_func​(int func,
                                    int ref,
                                    int mask)
        Specified by:
        gl_stencil_func in class gl_object
      • gl_stencil_op

        public void gl_stencil_op​(int fail,
                                  int zfail,
                                  int zpass)
        Specified by:
        gl_stencil_op in class gl_object
      • gl_tex_gen_i

        public void gl_tex_gen_i​(int coord,
                                 int param)
        Specified by:
        gl_tex_gen_i in class gl_object
      • gl_tex_gen_f

        public void gl_tex_gen_f​(int coord,
                                 int pname,
                                 float[] params)
        Specified by:
        gl_tex_gen_f in class gl_object
      • gl_tex_env_f

        public void gl_tex_env_f​(float[] params)
        Specified by:
        gl_tex_env_f in class gl_object
      • gl_tex_parameter

        public void gl_tex_parameter​(int target,
                                     int pname,
                                     float[] params)
        Specified by:
        gl_tex_parameter in class gl_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 class gl_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 class gl_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 class gl_object
      • gl_bind_texture

        public void gl_bind_texture​(int target,
                                    int texture)
        Specified by:
        gl_bind_texture in class gl_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 class gl_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 class gl_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 class gl_object
      • gl_feedback_buffer

        public void gl_feedback_buffer​(int size,
                                       int type,
                                       float[] buffer)
        Specified by:
        gl_feedback_buffer in class gl_object
      • gl_select_buffer

        public void gl_select_buffer​(int size,
                                     int[] buffer)
        Specified by:
        gl_select_buffer in class gl_object