Package org.lwjgl.opengl
Class GLXEXTTextureFromPixmap
- java.lang.Object
-
- org.lwjgl.opengl.GLXEXTTextureFromPixmap
-
public class GLXEXTTextureFromPixmap extends java.lang.Object
Native bindings to the GLX_EXT_texture_from_pixmap extension.This extension allows a color buffer to be used for both rendering and texturing.
Requires
GLX 1.3
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GLX_AUX0_EXT
GLX_AUX1_EXT
GLX_AUX2_EXT
GLX_AUX3_EXT
GLX_AUX4_EXT
GLX_AUX5_EXT
GLX_AUX6_EXT
GLX_AUX7_EXT
GLX_AUX8_EXT
GLX_AUX9_EXT
GLX_BACK_EXT
GLX_BACK_LEFT_EXT
GLX_BACK_RIGHT_EXTstatic int
GLX_BIND_TO_MIPMAP_TEXTURE_EXT
GLX_BIND_TO_TEXTURE_RGB_EXT
GLX_BIND_TO_TEXTURE_RGBA_EXT
GLX_BIND_TO_TEXTURE_TARGETS_EXTAccepted by theattribute
parameter ofGetFBConfigAttrib
and theattrib_list
parameter ofChooseFBConfig
.static int
GLX_FRONT_EXT
GLX_FRONT_LEFT_EXT
GLX_FRONT_RIGHT_EXTstatic int
GLX_MIPMAP_TEXTURE_EXT
Accepted as an attribute in theattrib_list
parameter ofCreatePixmap
, and by theattribute
parameter ofQueryDrawable
.static int
GLX_TEXTURE_1D_BIT_EXT
Accepted as bits in theBIND_TO_TEXTURE_TARGETS_EXT
variable.static int
GLX_TEXTURE_1D_EXT
Accepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_TARGET_EXT
.static int
GLX_TEXTURE_2D_BIT_EXT
Accepted as bits in theBIND_TO_TEXTURE_TARGETS_EXT
variable.static int
GLX_TEXTURE_2D_EXT
Accepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_TARGET_EXT
.static int
GLX_TEXTURE_FORMAT_EXT
Accepted as an attribute in theattrib_list
parameter ofCreatePixmap
, and by theattribute
parameter ofQueryDrawable
.static int
GLX_TEXTURE_FORMAT_NONE_EXT
GLX_TEXTURE_FORMAT_RGB_EXT
GLX_TEXTURE_FORMAT_RGBA_EXTAccepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_FORMAT_EXT
.static int
GLX_TEXTURE_RECTANGLE_BIT_EXT
Accepted as bits in theBIND_TO_TEXTURE_TARGETS_EXT
variable.static int
GLX_TEXTURE_RECTANGLE_EXT
Accepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_TARGET_EXT
.static int
GLX_TEXTURE_TARGET_EXT
Accepted as an attribute in theattrib_list
parameter ofCreatePixmap
, and by theattribute
parameter ofQueryDrawable
.static int
GLX_Y_INVERTED_EXT
Accepted by theattribute
parameter ofGetFBConfigAttrib
and theattrib_list
parameter ofChooseFBConfig
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list)
Array version of:BindTexImageEXT
static void
glXBindTexImageEXT(long display, long drawable, int buffer, java.nio.IntBuffer attrib_list)
Defines a one- or two-dimensional texture image.static void
glXReleaseTexImageEXT(long display, long drawable, int buffer)
Releases a color buffer that is being used as a texture.
-
-
-
Field Detail
-
GLX_BIND_TO_TEXTURE_RGB_EXT, GLX_BIND_TO_TEXTURE_RGBA_EXT, GLX_BIND_TO_MIPMAP_TEXTURE_EXT, GLX_BIND_TO_TEXTURE_TARGETS_EXT, GLX_Y_INVERTED_EXT
Accepted by theattribute
parameter ofGetFBConfigAttrib
and theattrib_list
parameter ofChooseFBConfig
.
-
GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_TARGET_EXT, GLX_MIPMAP_TEXTURE_EXT
Accepted as an attribute in theattrib_list
parameter ofCreatePixmap
, and by theattribute
parameter ofQueryDrawable
.
-
GLX_TEXTURE_FORMAT_NONE_EXT, GLX_TEXTURE_FORMAT_RGB_EXT, GLX_TEXTURE_FORMAT_RGBA_EXT
Accepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_FORMAT_EXT
.
-
GLX_TEXTURE_1D_BIT_EXT, GLX_TEXTURE_2D_BIT_EXT, GLX_TEXTURE_RECTANGLE_BIT_EXT
Accepted as bits in theBIND_TO_TEXTURE_TARGETS_EXT
variable.
-
GLX_TEXTURE_1D_EXT, GLX_TEXTURE_2D_EXT, GLX_TEXTURE_RECTANGLE_EXT
Accepted as a value in theattrib_list
parameter ofCreatePixmap
and returned in thevalue
parameter ofQueryDrawable
whenattribute
isTEXTURE_TARGET_EXT
.
-
-
Method Detail
-
glXBindTexImageEXT
public static void glXBindTexImageEXT(long display, long drawable, int buffer, java.nio.IntBuffer attrib_list)
Defines a one- or two-dimensional texture image. The texture image is taken frombuffer
and need not be copied. The texture target, the texture format, and the size of the texture components are derived from attributes ofdrawable
.- Parameters:
display
- the connection to the X serverdrawable
- the drawablebuffer
- the bufferattrib_list
- an optional null-terminated list of attributes
-
glXReleaseTexImageEXT
public static void glXReleaseTexImageEXT(long display, long drawable, int buffer)
Releases a color buffer that is being used as a texture.- Parameters:
display
- the connection to the X serverdrawable
- the drawablebuffer
- the buffer
-
glXBindTexImageEXT
public static void glXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list)
Array version of:BindTexImageEXT
-
-