Class gl_texture

java.lang.Object
jgl.context.attrib.gl_texture

public class gl_texture extends Object
gl_texture is the texturing class of jGL 2.4.
Version:
0.5, 14 May 2003
Author:
Robin Bing-Yu Chen
  • Field Details

    • Enable1D

      public boolean Enable1D
      GL_TEXTURE_x: True if x-D texturing enabled (x is 1D, 2D, or 3D)
    • Enable2D

      public boolean Enable2D
    • Enable3D

      public boolean Enable3D
    • Current1D

      public gl_texture_obj Current1D
      For texture x-D
    • Current2D

      public gl_texture_obj Current2D
    • Current3D

      public gl_texture_obj Current3D
    • CurrentObj

      public gl_texture_obj CurrentObj
    • EnvMode

      public int EnvMode
      GL_TEXTURE_ENV_MODE: Texture application function
    • EnvColor

      public float[] EnvColor
      GL_TEXTURE_ENV_COLOR: Texture environment color
    • CurrentS

      public gl_texture_gen CurrentS
      For texgen x
    • CurrentT

      public gl_texture_gen CurrentT
    • CurrentR

      public gl_texture_gen CurrentR
    • CurrentQ

      public gl_texture_gen CurrentQ
  • Constructor Details

    • gl_texture

      public gl_texture()
  • Method Details

    • check_tex

      public boolean check_tex()
    • is_tex_enabled

      public int is_tex_enabled()
    • is_tex_enabled

      public boolean is_tex_enabled(int cap)
    • tex_enable

      public boolean tex_enable(int state)
    • tex_enable

      public boolean tex_enable(int cap, boolean state)
    • is_tex_gen_enabled

      public int is_tex_gen_enabled()
    • is_tex_gen_enabled

      public boolean is_tex_gen_enabled(int cap)
    • tex_gen_enable

      public void tex_gen_enable(int state)
    • tex_gen_enable

      public void tex_gen_enable(int cap, boolean state)
    • set_tex

      public void set_tex(int target, int pname, float[] params)
    • set_tex_image

      public void set_tex_image(int target, int level, int border, gl_image img)
    • get_tex_image

      public gl_image get_tex_image(int target, int level)
    • set_tex_gen_i

      public void set_tex_gen_i(int coord, int param)
    • set_tex_gen_f

      public void set_tex_gen_f(int coord, int pname, float[] params)
    • bind_texture

      public void bind_texture(int target, gl_texture_obj obj)
    • tex_vertex

      public int tex_vertex(float s, float t, float r, float w, float dsdx, float dsdy, float dtdx, float dtdy, float drdx, float drdy)
    • tex_vertex

      public int tex_vertex(float s, float t, float r)
    • get_tex_gen_coord

      public float[] get_tex_gen_coord(float[] obj, float[] eye, float[] nor)