Class gl_texture_gen

java.lang.Object
jgl.context.attrib.texture.gl_texture_gen

public class gl_texture_gen extends Object
gl_texture_gen is the texgen class of jGL 2.3.
Version:
0.2, 13 Feb 2001
Author:
Robin Bing-Yu Chen
  • Field Details

    • Enable

      public boolean Enable
      GL_TEXTURE_GEN_x: Texgen enabled
    • EyeLinear

      public float[] EyeLinear
      GL_EYE_LINEAR: Texgen plane equation coefficients
    • ObjectLinear

      public float[] ObjectLinear
      GL_OBJECT_LINEAR: Texgen object linear coefficients
    • Mode

      public int Mode
      GL_TEXTURE_GEN_MODE: Function used for texgen
  • Constructor Details

    • gl_texture_gen

      public gl_texture_gen()
  • Method Details

    • set_tex_gen

      public void set_tex_gen(int pname, float[] params)
    • get_tex_gen_coord

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

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