Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GLXEXTTextureFromPixmap

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GLX_AUX0_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX1_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX2_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX3_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX4_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX5_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX6_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX7_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX8_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_AUX9_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_BACK_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_BACK_LEFT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_BACK_RIGHT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_BIND_TO_MIPMAP_TEXTURE_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

public static final int
GLX_BIND_TO_TEXTURE_RGB_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

public static final int
GLX_BIND_TO_TEXTURE_RGBA_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

public static final int
GLX_BIND_TO_TEXTURE_TARGETS_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

public static final int
GLX_FRONT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_FRONT_LEFT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_FRONT_RIGHT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

public static final int
GLX_MIPMAP_TEXTURE_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

public static final int
GLX_TEXTURE_1D_BIT_EXT

Accepted as bits in the BIND_TO_TEXTURE_TARGETS_EXT variable.

public static final int
GLX_TEXTURE_1D_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

public static final int
GLX_TEXTURE_2D_BIT_EXT

Accepted as bits in the BIND_TO_TEXTURE_TARGETS_EXT variable.

public static final int
GLX_TEXTURE_2D_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

public static final int
GLX_TEXTURE_FORMAT_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

public static final int
GLX_TEXTURE_FORMAT_NONE_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

public static final int
GLX_TEXTURE_FORMAT_RGB_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

public static final int
GLX_TEXTURE_FORMAT_RGBA_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

public static final int
public static final int
GLX_TEXTURE_RECTANGLE_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

public static final int
GLX_TEXTURE_TARGET_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

public static final int
GLX_Y_INVERTED_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glXBindTexImageEXT(long
the connection to the X server
display
,
long
the drawable
drawable
,
int
the buffer
buffer
,
IntBuffer
an optional null-terminated list of attributes
attrib_list
)

Defines a one- or two-dimensional texture image.

public static void
glXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list)

Array version of: BindTexImageEXT

public static void
glXReleaseTexImageEXT(long
the connection to the X server
display
,
long
the drawable
drawable
,
int
the buffer
buffer
)

Releases a color buffer that is being used as a texture.

public static void
nglXBindTexImageEXT(long display, long drawable, int buffer, long attrib_list)

Unsafe version of: BindTexImageEXT

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GLX_AUX0_EXTback to summary
public static final int GLX_AUX0_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX1_EXTback to summary
public static final int GLX_AUX1_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX2_EXTback to summary
public static final int GLX_AUX2_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX3_EXTback to summary
public static final int GLX_AUX3_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX4_EXTback to summary
public static final int GLX_AUX4_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX5_EXTback to summary
public static final int GLX_AUX5_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX6_EXTback to summary
public static final int GLX_AUX6_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX7_EXTback to summary
public static final int GLX_AUX7_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX8_EXTback to summary
public static final int GLX_AUX8_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_AUX9_EXTback to summary
public static final int GLX_AUX9_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_BACK_EXTback to summary
public static final int GLX_BACK_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_BACK_LEFT_EXTback to summary
public static final int GLX_BACK_LEFT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_BACK_RIGHT_EXTback to summary
public static final int GLX_BACK_RIGHT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_BIND_TO_MIPMAP_TEXTURE_EXTback to summary
public static final int GLX_BIND_TO_MIPMAP_TEXTURE_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

GLX_BIND_TO_TEXTURE_RGB_EXTback to summary
public static final int GLX_BIND_TO_TEXTURE_RGB_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

GLX_BIND_TO_TEXTURE_RGBA_EXTback to summary
public static final int GLX_BIND_TO_TEXTURE_RGBA_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

GLX_BIND_TO_TEXTURE_TARGETS_EXTback to summary
public static final int GLX_BIND_TO_TEXTURE_TARGETS_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

GLX_FRONT_EXTback to summary
public static final int GLX_FRONT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_FRONT_LEFT_EXTback to summary
public static final int GLX_FRONT_LEFT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_FRONT_RIGHT_EXTback to summary
public static final int GLX_FRONT_RIGHT_EXT

Accepted by the buffer parameter of BindTexImageEXT and ReleaseTexImageEXT.

GLX_MIPMAP_TEXTURE_EXTback to summary
public static final int GLX_MIPMAP_TEXTURE_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

GLX_TEXTURE_1D_BIT_EXTback to summary
public static final int GLX_TEXTURE_1D_BIT_EXT

Accepted as bits in the BIND_TO_TEXTURE_TARGETS_EXT variable.

GLX_TEXTURE_1D_EXTback to summary
public static final int GLX_TEXTURE_1D_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

GLX_TEXTURE_2D_BIT_EXTback to summary
public static final int GLX_TEXTURE_2D_BIT_EXT

Accepted as bits in the BIND_TO_TEXTURE_TARGETS_EXT variable.

GLX_TEXTURE_2D_EXTback to summary
public static final int GLX_TEXTURE_2D_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

GLX_TEXTURE_FORMAT_EXTback to summary
public static final int GLX_TEXTURE_FORMAT_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

GLX_TEXTURE_FORMAT_NONE_EXTback to summary
public static final int GLX_TEXTURE_FORMAT_NONE_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

GLX_TEXTURE_FORMAT_RGB_EXTback to summary
public static final int GLX_TEXTURE_FORMAT_RGB_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

GLX_TEXTURE_FORMAT_RGBA_EXTback to summary
public static final int GLX_TEXTURE_FORMAT_RGBA_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_FORMAT_EXT.

GLX_TEXTURE_RECTANGLE_BIT_EXTback to summary
public static final int GLX_TEXTURE_RECTANGLE_BIT_EXT

Accepted as bits in the BIND_TO_TEXTURE_TARGETS_EXT variable.

GLX_TEXTURE_RECTANGLE_EXTback to summary
public static final int GLX_TEXTURE_RECTANGLE_EXT

Accepted as a value in the attrib_list parameter of CreatePixmap and returned in the value parameter of QueryDrawable when attribute is TEXTURE_TARGET_EXT.

GLX_TEXTURE_TARGET_EXTback to summary
public static final int GLX_TEXTURE_TARGET_EXT

Accepted as an attribute in the attrib_list parameter of CreatePixmap, and by the attribute parameter of QueryDrawable.

GLX_Y_INVERTED_EXTback to summary
public static final int GLX_Y_INVERTED_EXT

Accepted by the attribute parameter of GetFBConfigAttrib and the attrib_list parameter of ChooseFBConfig.

Constructor Detail

GLXEXTTextureFromPixmapback to summary
protected GLXEXTTextureFromPixmap()

Method Detail

glXBindTexImageEXTback to summary
public static void glXBindTexImageEXT(long display, long drawable, int buffer, IntBuffer attrib_list)

Defines a one- or two-dimensional texture image. The texture image is taken from buffer and need not be copied. The texture target, the texture format, and the size of the texture components are derived from attributes of drawable.

Parameters
display:long

the connection to the X server

drawable:long

the drawable

buffer:int

the buffer

attrib_list:IntBuffer

an optional null-terminated list of attributes

glXBindTexImageEXTback to summary
public static void glXBindTexImageEXT(long display, long drawable, int buffer, int[] attrib_list)

Array version of: BindTexImageEXT

glXReleaseTexImageEXTback to summary
public static void glXReleaseTexImageEXT(long display, long drawable, int buffer)

Releases a color buffer that is being used as a texture.

Parameters
display:long

the connection to the X server

drawable:long

the drawable

buffer:int

the buffer

nglXBindTexImageEXTback to summary
public static void nglXBindTexImageEXT(long display, long drawable, int buffer, long attrib_list)

Unsafe version of: BindTexImageEXT