Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class EXTGPUShader4

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

Native bindings to the EXT_gpu_shader4 extension.

This extension provides a set of new features to the OpenGL Shading Language and related APIs to support capabilities of new hardware. In particular, this extension provides the following functionality:

This extension also briefly mentions a new shader type, called a geometry shader. A geometry shader is run after vertices are transformed, but before clipping. A geometry shader begins with a single primitive (point, line, triangle. It can read the attributes of any of the vertices in the primitive and use them to generate new primitives. A geometry shader has a fixed output primitive type (point, line strip, or triangle strip) and emits vertices to define a new primitive. Geometry shaders are discussed in detail in the GL_EXT_geometry_shader4 specification.

Requires OpenGL 2.0.

Field Summary

Modifier and TypeField and Description
public static final int
GL_INT_SAMPLER_1D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_1D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_2D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_2D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_2D_RECT_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_3D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_BUFFER_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_CUBE_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_MAX_PROGRAM_TEXEL_OFFSET_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MIN_PROGRAM_TEXEL_OFFSET_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_SAMPLER_1D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_1D_ARRAY_SHADOW_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_2D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_2D_ARRAY_SHADOW_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_BUFFER_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_CUBE_SHADOW_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_1D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_2D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_3D_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_CUBE_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_VEC2_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_VEC3_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_VEC4_EXT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT

Accepted by the pname parameters of GetVertexAttribdv, GetVertexAttribfv, GetVertexAttribiv, GetVertexAttribIuivEXT and GetVertexAttribIivEXT.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glBindFragDataLocationEXT(int program, int color, ByteBuffer name)

public static void
glBindFragDataLocationEXT(int program, int color, CharSequence name)

public static int
public static int
public static int
glGetUniformuiEXT(int program, int location)

public static void
glGetUniformuivEXT(int program, int location, IntBuffer params)

public static void
glGetUniformuivEXT(int program, int location, int[] params)

Array version of: GetUniformuivEXT

public static int
glGetVertexAttribIiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
)

Returns the value of a pure integer generic vertex attribute parameter.

public static void
glGetVertexAttribIivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
IntBuffer
returns the requested data
params
)

Returns the value of a pure integer generic vertex attribute parameter.

public static void
glGetVertexAttribIivEXT(int index, int pname, int[] params)

Array version of: GetVertexAttribIivEXT

public static int
glGetVertexAttribIuiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
)

Unsigned version of GetVertexAttribIivEXT.

public static void
glGetVertexAttribIuivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
IntBuffer
returns the requested data
params
)

Unsigned version of GetVertexAttribIivEXT.

public static void
glGetVertexAttribIuivEXT(int index, int pname, int[] params)

Array version of: GetVertexAttribIuivEXT

public static native void
glUniform1uiEXT(int location, int v0)

public static void
glUniform1uivEXT(int location, IntBuffer value)

public static void
glUniform1uivEXT(int location, int[] value)

Array version of: Uniform1uivEXT

public static native void
glUniform2uiEXT(int location, int v0, int v1)

public static void
glUniform2uivEXT(int location, IntBuffer value)

public static void
glUniform2uivEXT(int location, int[] value)

Array version of: Uniform2uivEXT

public static native void
glUniform3uiEXT(int location, int v0, int v1, int v2)

public static void
glUniform3uivEXT(int location, IntBuffer value)

public static void
glUniform3uivEXT(int location, int[] value)

Array version of: Uniform3uivEXT

public static native void
glUniform4uiEXT(int location, int v0, int v1, int v2, int v3)

public static void
glUniform4uivEXT(int location, IntBuffer value)

public static void
glUniform4uivEXT(int location, int[] value)

Array version of: Uniform4uivEXT

public static native void
glVertexAttribI1iEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
)

Specifies the value of a pure integer generic vertex attribute.

public static void
glVertexAttribI1ivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI1iEXT.

public static void
glVertexAttribI1ivEXT(int index, int[] v)

Array version of: VertexAttribI1ivEXT

public static native void
glVertexAttribI1uiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
)

Specifies the value of an unsigned pure integer generic vertex attribute.

public static void
glVertexAttribI1uivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI1uiEXT.

public static void
glVertexAttribI1uivEXT(int index, int[] v)

Array version of: VertexAttribI1uivEXT

public static native void
glVertexAttribI2iEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
)

Specifies the value of a pure integer generic vertex attribute.

public static void
glVertexAttribI2ivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI2iEXT.

public static void
glVertexAttribI2ivEXT(int index, int[] v)

Array version of: VertexAttribI2ivEXT

public static native void
glVertexAttribI2uiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
)

Specifies the value of an unsigned pure integer generic vertex attribute.

public static void
glVertexAttribI2uivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI2uiEXT.

public static void
glVertexAttribI2uivEXT(int index, int[] v)

Array version of: VertexAttribI2uivEXT

public static native void
glVertexAttribI3iEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
,
int
the vertex attribute z component
z
)

Specifies the value of a pure integer generic vertex attribute.

public static void
glVertexAttribI3ivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI3iEXT.

public static void
glVertexAttribI3ivEXT(int index, int[] v)

Array version of: VertexAttribI3ivEXT

public static native void
glVertexAttribI3uiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
,
int
the vertex attribute z component
z
)

Specifies the value of an unsigned pure integer generic vertex attribute.

public static void
glVertexAttribI3uivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI3uiEXT.

public static void
glVertexAttribI3uivEXT(int index, int[] v)

Array version of: VertexAttribI3uivEXT

public static void
glVertexAttribI4bvEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
ByteBuffer
the pure integer vertex attribute buffer
v
)

Byte version of VertexAttribI4ivEXT.

public static native void
glVertexAttribI4iEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
,
int
the vertex attribute z component
z
,
int
the vertex attribute w component
w
)

Specifies the value of a pure integer generic vertex attribute.

public static void
glVertexAttribI4ivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI4iEXT.

public static void
glVertexAttribI4ivEXT(int index, int[] v)

Array version of: VertexAttribI4ivEXT

public static void
glVertexAttribI4svEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
ShortBuffer
the pure integer vertex attribute buffer
v
)

Short version of VertexAttribI4ivEXT.

public static void
glVertexAttribI4svEXT(int index, short[] v)

Array version of: VertexAttribI4svEXT

public static void
glVertexAttribI4ubvEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
ByteBuffer
the pure integer vertex attribute buffer
v
)

Byte version of VertexAttribI4uivEXT.

public static native void
glVertexAttribI4uiEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the vertex attribute x component
x
,
int
the vertex attribute y component
y
,
int
the vertex attribute z component
z
,
int
the vertex attribute w component
w
)

Specifies the value of an unsigned pure integer generic vertex attribute.

public static void
glVertexAttribI4uivEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
IntBuffer
the pure integer vertex attribute buffer
v
)

Pointer version of VertexAttribI4uiEXT.

public static void
glVertexAttribI4uivEXT(int index, int[] v)

Array version of: VertexAttribI4uivEXT

public static void
glVertexAttribI4usvEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
ShortBuffer
the pure integer vertex attribute buffer
v
)

Short version of VertexAttribI4uivEXT.

public static void
glVertexAttribI4usvEXT(int index, short[] v)

Array version of: VertexAttribI4usvEXT

public static void
glVertexAttribIPointerEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INT
type
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
ByteBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a pure integer vertex attribute array.

public static void
glVertexAttribIPointerEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INT
type
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
long
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a pure integer vertex attribute array.

public static void
glVertexAttribIPointerEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INT
type
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
ShortBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a pure integer vertex attribute array.

public static void
glVertexAttribIPointerEXT(int
the index of the pure integer generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INT
type
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
IntBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a pure integer vertex attribute array.

public static void
glVertexAttribIPointerEXT(int index, int size, int type, int stride, short[] pointer)

Array version of: VertexAttribIPointerEXT

public static void
glVertexAttribIPointerEXT(int index, int size, int type, int stride, int[] pointer)

Array version of: VertexAttribIPointerEXT

public static native void
nglBindFragDataLocationEXT(int program, int color, long name)

public static native int
nglGetFragDataLocationEXT(int program, long name)

public static native void
nglGetUniformuivEXT(int program, int location, long params)

public static native void
nglGetVertexAttribIivEXT(int index, int pname, long params)

Unsafe version of: GetVertexAttribIivEXT

public static native void
nglGetVertexAttribIuivEXT(int index, int pname, long params)

Unsafe version of: GetVertexAttribIuivEXT

public static native void
nglUniform1uivEXT(int location, int count, long value)

public static native void
nglUniform2uivEXT(int location, int count, long value)

public static native void
nglUniform3uivEXT(int location, int count, long value)

public static native void
nglUniform4uivEXT(int location, int count, long value)

public static native void
nglVertexAttribI1ivEXT(int index, long v)

Unsafe version of: VertexAttribI1ivEXT

public static native void
nglVertexAttribI1uivEXT(int index, long v)

Unsafe version of: VertexAttribI1uivEXT

public static native void
nglVertexAttribI2ivEXT(int index, long v)

Unsafe version of: VertexAttribI2ivEXT

public static native void
nglVertexAttribI2uivEXT(int index, long v)

Unsafe version of: VertexAttribI2uivEXT

public static native void
nglVertexAttribI3ivEXT(int index, long v)

Unsafe version of: VertexAttribI3ivEXT

public static native void
nglVertexAttribI3uivEXT(int index, long v)

Unsafe version of: VertexAttribI3uivEXT

public static native void
nglVertexAttribI4bvEXT(int index, long v)

Unsafe version of: VertexAttribI4bvEXT

public static native void
nglVertexAttribI4ivEXT(int index, long v)

Unsafe version of: VertexAttribI4ivEXT

public static native void
nglVertexAttribI4svEXT(int index, long v)

Unsafe version of: VertexAttribI4svEXT

public static native void
nglVertexAttribI4ubvEXT(int index, long v)

Unsafe version of: VertexAttribI4ubvEXT

public static native void
nglVertexAttribI4uivEXT(int index, long v)

Unsafe version of: VertexAttribI4uivEXT

public static native void
nglVertexAttribI4usvEXT(int index, long v)

Unsafe version of: VertexAttribI4usvEXT

public static native void
nglVertexAttribIPointerEXT(int index, int size, int type, int stride, long pointer)

Unsafe version of: VertexAttribIPointerEXT

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait