Package org.lwjgl.opengl
Class GLXEXTTextureFromPixmap
- java.lang.Object
-
- org.lwjgl.opengl.GLXEXTTextureFromPixmap
-
public class GLXEXTTextureFromPixmap extends java.lang.ObjectNative 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 intGLX_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 intGLX_BIND_TO_MIPMAP_TEXTURE_EXT
GLX_BIND_TO_TEXTURE_RGB_EXT
GLX_BIND_TO_TEXTURE_RGBA_EXT
GLX_BIND_TO_TEXTURE_TARGETS_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.static intGLX_FRONT_EXT
GLX_FRONT_LEFT_EXT
GLX_FRONT_RIGHT_EXTstatic intGLX_MIPMAP_TEXTURE_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static intGLX_TEXTURE_1D_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static intGLX_TEXTURE_1D_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static intGLX_TEXTURE_2D_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static intGLX_TEXTURE_2D_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static intGLX_TEXTURE_FORMAT_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static intGLX_TEXTURE_FORMAT_NONE_EXT
GLX_TEXTURE_FORMAT_RGB_EXT
GLX_TEXTURE_FORMAT_RGBA_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.static intGLX_TEXTURE_RECTANGLE_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static intGLX_TEXTURE_RECTANGLE_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static intGLX_TEXTURE_TARGET_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static intGLX_Y_INVERTED_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list)Array version of:BindTexImageEXTstatic voidglXBindTexImageEXT(long display, long drawable, int buffer, java.nio.IntBuffer attrib_list)Defines a one- or two-dimensional texture image.static voidglXReleaseTexImageEXT(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 theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.
-
GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_TARGET_EXT, GLX_MIPMAP_TEXTURE_EXT
Accepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.
-
GLX_TEXTURE_FORMAT_NONE_EXT, GLX_TEXTURE_FORMAT_RGB_EXT, GLX_TEXTURE_FORMAT_RGBA_EXT
Accepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_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_EXTvariable.
-
GLX_TEXTURE_1D_EXT, GLX_TEXTURE_2D_EXT, GLX_TEXTURE_RECTANGLE_EXT
Accepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_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 frombufferand 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
-
-