Package jgl.context.attrib.texture
Class gl_texture_gen
java.lang.Object
jgl.context.attrib.texture.gl_texture_gen
gl_texture_gen is the texgen class of jGL 2.3.
- Version:
- 0.2, 13 Feb 2001
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionboolean
GL_TEXTURE_GEN_x: Texgen enabledfloat[]
GL_EYE_LINEAR: Texgen plane equation coefficientsint
GL_TEXTURE_GEN_MODE: Function used for texgenfloat[]
GL_OBJECT_LINEAR: Texgen object linear coefficients -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
get_tex_gen_coord
(float[] obj, float[] eye) float
get_tex_gen_coord
(float[] obj, float[] eye, float[] nor) void
set_tex_gen
(int pname, float[] params)
-
Field Details
-
Enable
public boolean EnableGL_TEXTURE_GEN_x: Texgen enabled -
EyeLinear
public float[] EyeLinearGL_EYE_LINEAR: Texgen plane equation coefficients -
ObjectLinear
public float[] ObjectLinearGL_OBJECT_LINEAR: Texgen object linear coefficients -
Mode
public int ModeGL_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)
-