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:
i implicitly passed to ArrayElement to specify the
vertex. This is called the vertex ID.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..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_INT_SAMPLER_1D_ARRAY_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_1D_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_2D_ARRAY_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_2D_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_2D_RECT_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_3D_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_BUFFER_EXT
Returned by the |
| public static final int | GL_INT_SAMPLER_CUBE_EXT
Returned by the |
| public static final int | GL_MAX_PROGRAM_TEXEL_OFFSET_EXT
Accepted by the |
| public static final int | GL_MIN_PROGRAM_TEXEL_OFFSET_EXT
Accepted by the |
| public static final int | GL_SAMPLER_1D_ARRAY_EXT
Returned by the |
| public static final int | GL_SAMPLER_1D_ARRAY_SHADOW_EXT
Returned by the |
| public static final int | GL_SAMPLER_2D_ARRAY_EXT
Returned by the |
| public static final int | GL_SAMPLER_2D_ARRAY_SHADOW_EXT
Returned by the |
| public static final int | GL_SAMPLER_BUFFER_EXT
Returned by the |
| public static final int | GL_SAMPLER_CUBE_SHADOW_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_1D_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_2D_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_3D_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_SAMPLER_CUBE_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_VEC2_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_VEC3_EXT
Returned by the |
| public static final int | GL_UNSIGNED_INT_VEC4_EXT
Returned by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void | ||||||||||||
| public static void | ||||||||||||
| public static int | ||||||||||||
| public static int | ||||||||||||
| public static int | ||||||||||||
| public static void | ||||||||||||
| public static void | ||||||||||||
| 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 | ||||||||||||
| 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 | |||||||||||
| 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 | |||||||||||
| public static void | glGetVertexAttribIuivEXT(int index, int pname, int[] params)
Array version of: | |||||||||||
| public static native void | ||||||||||||
| public static void | ||||||||||||
| public static void | ||||||||||||
| public static native void | ||||||||||||
| public static void | ||||||||||||
| public static void | ||||||||||||
| public static native void | ||||||||||||
| public static void | ||||||||||||
| public static void | ||||||||||||
| public static native void | ||||||||||||
| public static void | ||||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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 | |||||||||||
| public static void | ||||||||||||
| 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: size, int
the data type of each component in the array. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: | |||||||||||
| public static void | glVertexAttribIPointerEXT(int index, int size, int type, int stride, int[] pointer)
Array version of: | |||||||||||
| public static native void | ||||||||||||
| public static native int | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | nglGetVertexAttribIuivEXT(int index, int pname, long params)
Unsafe version of: | |||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | ||||||||||||
| public static native void | nglVertexAttribIPointerEXT(int index, int size, int type, int stride, long pointer)
Unsafe version of: |