Package jgl.context.attrib.texture
Class gl_texture_obj
java.lang.Object
jgl.context.attrib.texture.gl_texture_obj
gl_texture_obj is the texturing x-D class of jGL 2.4.
- Version:
- 0.4, 16 May 2003
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionint[]
GL_TEXTURE_BORDER_COLOR: Texture border colorint
GL_TEXTURE: x-D texture image at level of detail iint
GL_TEXTURE_MAG_FILTER: Texture magnification functionint
GL_TEXTURE_MIN_FILTER: Texture minification functionint
float
int
will delete the followingint
int
GL_TEXTURE_WRAP_x: Texture wrap mode (x is S or T or R)int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget_tex_image
(int level) void
set_tex
(int pname, float[] params) void
set_tex_image
(int level, int border, gl_image img)
-
Field Details
-
Image
GL_TEXTURE: x-D texture image at level of detail i -
BorderColor
public int[] BorderColorGL_TEXTURE_BORDER_COLOR: Texture border color -
MinFilter
public int MinFilterGL_TEXTURE_MIN_FILTER: Texture minification function -
MagFilter
public int MagFilterGL_TEXTURE_MAG_FILTER: Texture magnification function -
WrapS
public int WrapSGL_TEXTURE_WRAP_x: Texture wrap mode (x is S or T or R) -
WrapT
public int WrapT -
WrapR
public int WrapR -
RefCount
public int RefCountwill delete the following -
Name
public int Name -
Dimensions
public int Dimensions -
Priority
public float Priority
-
-
Constructor Details
-
gl_texture_obj
public gl_texture_obj()
-
-
Method Details
-
set_tex
public void set_tex(int pname, float[] params) -
set_tex_image
-
get_tex_image
-