Package org.lwjgl.opengl
Class GLXEXTTextureFromPixmap
java.lang.Object
org.lwjgl.opengl.GLXEXTTextureFromPixmap
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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.static final intAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.static final intAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.static final intAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.static final intstatic final intstatic final intstatic final intAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static final intAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static final intAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static final intAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.static final intAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.static final intAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.static final intAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.static final intAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list) Array version of:BindTexImageEXTstatic voidglXBindTexImageEXT(long display, long drawable, int buffer, 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.static voidnglXBindTexImageEXT(long display, long drawable, int buffer, long attrib_list) Unsafe version of:BindTexImageEXT
-
Field Details
-
GLX_BIND_TO_TEXTURE_RGB_EXT
public static final int GLX_BIND_TO_TEXTURE_RGB_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.- See Also:
-
GLX_BIND_TO_TEXTURE_RGBA_EXT
public static final int GLX_BIND_TO_TEXTURE_RGBA_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.- See Also:
-
GLX_BIND_TO_MIPMAP_TEXTURE_EXT
public static final int GLX_BIND_TO_MIPMAP_TEXTURE_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.- See Also:
-
GLX_BIND_TO_TEXTURE_TARGETS_EXT
public static final int GLX_BIND_TO_TEXTURE_TARGETS_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.- See Also:
-
GLX_Y_INVERTED_EXT
public static final int GLX_Y_INVERTED_EXTAccepted by theattributeparameter ofGetFBConfigAttriband theattrib_listparameter ofChooseFBConfig.- See Also:
-
GLX_TEXTURE_FORMAT_EXT
public static final int GLX_TEXTURE_FORMAT_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.- See Also:
-
GLX_TEXTURE_TARGET_EXT
public static final int GLX_TEXTURE_TARGET_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.- See Also:
-
GLX_MIPMAP_TEXTURE_EXT
public static final int GLX_MIPMAP_TEXTURE_EXTAccepted as an attribute in theattrib_listparameter ofCreatePixmap, and by theattributeparameter ofQueryDrawable.- See Also:
-
GLX_TEXTURE_FORMAT_NONE_EXT
public static final int GLX_TEXTURE_FORMAT_NONE_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.- See Also:
-
GLX_TEXTURE_FORMAT_RGB_EXT
public static final int GLX_TEXTURE_FORMAT_RGB_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.- See Also:
-
GLX_TEXTURE_FORMAT_RGBA_EXT
public static final int GLX_TEXTURE_FORMAT_RGBA_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_FORMAT_EXT.- See Also:
-
GLX_TEXTURE_1D_BIT_EXT
public static final int GLX_TEXTURE_1D_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.- See Also:
-
GLX_TEXTURE_2D_BIT_EXT
public static final int GLX_TEXTURE_2D_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.- See Also:
-
GLX_TEXTURE_RECTANGLE_BIT_EXT
public static final int GLX_TEXTURE_RECTANGLE_BIT_EXTAccepted as bits in theBIND_TO_TEXTURE_TARGETS_EXTvariable.- See Also:
-
GLX_TEXTURE_1D_EXT
public static final int GLX_TEXTURE_1D_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.- See Also:
-
GLX_TEXTURE_2D_EXT
public static final int GLX_TEXTURE_2D_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.- See Also:
-
GLX_TEXTURE_RECTANGLE_EXT
public static final int GLX_TEXTURE_RECTANGLE_EXTAccepted as a value in theattrib_listparameter ofCreatePixmapand returned in thevalueparameter ofQueryDrawablewhenattributeisTEXTURE_TARGET_EXT.- See Also:
-
GLX_FRONT_LEFT_EXT
public static final int GLX_FRONT_LEFT_EXT- See Also:
-
GLX_FRONT_RIGHT_EXT
public static final int GLX_FRONT_RIGHT_EXT- See Also:
-
GLX_BACK_LEFT_EXT
public static final int GLX_BACK_LEFT_EXT- See Also:
-
GLX_BACK_RIGHT_EXT
public static final int GLX_BACK_RIGHT_EXT- See Also:
-
GLX_FRONT_EXT
public static final int GLX_FRONT_EXT- See Also:
-
GLX_BACK_EXT
public static final int GLX_BACK_EXT- See Also:
-
GLX_AUX0_EXT
public static final int GLX_AUX0_EXT- See Also:
-
GLX_AUX1_EXT
public static final int GLX_AUX1_EXT- See Also:
-
GLX_AUX2_EXT
public static final int GLX_AUX2_EXT- See Also:
-
GLX_AUX3_EXT
public static final int GLX_AUX3_EXT- See Also:
-
GLX_AUX4_EXT
public static final int GLX_AUX4_EXT- See Also:
-
GLX_AUX5_EXT
public static final int GLX_AUX5_EXT- See Also:
-
GLX_AUX6_EXT
public static final int GLX_AUX6_EXT- See Also:
-
GLX_AUX7_EXT
public static final int GLX_AUX7_EXT- See Also:
-
GLX_AUX8_EXT
public static final int GLX_AUX8_EXT- See Also:
-
GLX_AUX9_EXT
public static final int GLX_AUX9_EXT- See Also:
-
-
Method Details
-
nglXBindTexImageEXT
public static void nglXBindTexImageEXT(long display, long drawable, int buffer, long attrib_list) Unsafe version of:BindTexImageEXT -
glXBindTexImageEXT
public static void glXBindTexImageEXT(long display, long drawable, int buffer, @Nullable 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, @Nullable int[] attrib_list) Array version of:BindTexImageEXT
-