This extension allows specifying the RGB components of the secondary color used in the Color Sum stage, instead of using the default (0,0,0,0) color. It applies only in RGBA mode and when LIGHTING is disabled.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_COLOR_SUM_EXT
Accepted by the |
| public static final int | GL_CURRENT_SECONDARY_COLOR_EXT
Accepted by the |
| public static final int | GL_SECONDARY_COLOR_ARRAY_EXT
Accepted by the |
| public static final int | GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
Accepted by the |
| public static final int | GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
Accepted by the |
| public static final int | GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
Accepted by the |
| public static final int | GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static native void | glSecondaryColor3bEXT(byte
the red component of the current secondary color red, byte the green component of the current secondary color green, byte the blue component of the current secondary color blue)Sets the R, G, and B components of the current secondary color. | ||||||||||||
| public static void | glSecondaryColor3bvEXT(ByteBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static native void | glSecondaryColor3dEXT(double
the red component of the current secondary color red, double the green component of the current secondary color green, double the blue component of the current secondary color blue)Double version of | ||||||||||||
| public static void | glSecondaryColor3dvEXT(DoubleBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static native void | glSecondaryColor3fEXT(float
the red component of the current secondary color red, float the green component of the current secondary color green, float the blue component of the current secondary color blue)Float version of | ||||||||||||
| public static void | glSecondaryColor3fvEXT(FloatBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static native void | glSecondaryColor3iEXT(int
the red component of the current secondary color red, int the green component of the current secondary color green, int the blue component of the current secondary color blue)Integer version of | ||||||||||||
| public static void | glSecondaryColor3ivEXT(IntBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static native void | glSecondaryColor3sEXT(short
the red component of the current secondary color red, short the green component of the current secondary color green, short the blue component of the current secondary color blue)Short version of | ||||||||||||
| public static void | glSecondaryColor3svEXT(ShortBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static native void | glSecondaryColor3ubEXT(byte
the red component of the current secondary color red, byte the green component of the current secondary color green, byte the blue component of the current secondary color blue)Unsigned version of | ||||||||||||
| public static void | glSecondaryColor3ubvEXT(ByteBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static native void | glSecondaryColor3uiEXT(int
the red component of the current secondary color red, int the green component of the current secondary color green, int the blue component of the current secondary color blue)Unsigned int version of | ||||||||||||
| public static void | glSecondaryColor3uivEXT(IntBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static native void | glSecondaryColor3usEXT(short
the red component of the current secondary color red, short the green component of the current secondary color green, short the blue component of the current secondary color blue)Unsigned short version of | ||||||||||||
| public static void | glSecondaryColor3usvEXT(ShortBuffer
the secondary color buffer v)Pointer version of | ||||||||||||
| public static void | |||||||||||||
| public static void | glSecondaryColorPointerEXT(int
the number of values per vertex that are stored in the array, as well as their component ordering. Must be: size, int
the data type of the values stored in the array. One of: type, int
the vertex stride in bytes. If specified as zero, then array elements are stored sequentially stride, ByteBuffer the secondary color array data pointer)Specifies the location and organization of a secondary color array. | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int
the number of values per vertex that are stored in the array, as well as their component ordering. Must be: size, int
the data type of the values stored in the array. One of: type, int
the vertex stride in bytes. If specified as zero, then array elements are stored sequentially stride, long the secondary color array data pointer)Specifies the location and organization of a secondary color array. | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int
the number of values per vertex that are stored in the array, as well as their component ordering. Must be: size, int
the data type of the values stored in the array. One of: type, int
the vertex stride in bytes. If specified as zero, then array elements are stored sequentially stride, ShortBuffer the secondary color array data pointer)Specifies the location and organization of a secondary color array. | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int
the number of values per vertex that are stored in the array, as well as their component ordering. Must be: size, int
the data type of the values stored in the array. One of: type, int
the vertex stride in bytes. If specified as zero, then array elements are stored sequentially stride, IntBuffer the secondary color array data pointer)Specifies the location and organization of a secondary color array. | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int
the number of values per vertex that are stored in the array, as well as their component ordering. Must be: size, int
the data type of the values stored in the array. One of: type, int
the vertex stride in bytes. If specified as zero, then array elements are stored sequentially stride, FloatBuffer the secondary color array data pointer)Specifies the location and organization of a secondary color array. | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int size, int type, int stride, short[] pointer)
Array version of: | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int size, int type, int stride, int[] pointer)
Array version of: | ||||||||||||
| public static void | glSecondaryColorPointerEXT(int size, int type, int stride, float[] pointer)
Array 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 | nglSecondaryColorPointerEXT(int size, int type, int stride, long pointer)
Unsafe version of: |
| GL_COLOR_SUM_EXT | back to summary |
|---|---|
| public static final int GL_COLOR_SUM_EXT Accepted by the | |
| GL_CURRENT_SECONDARY_COLOR_EXT | back to summary |
|---|---|
| public static final int GL_CURRENT_SECONDARY_COLOR_EXT Accepted by the | |
| GL_SECONDARY_COLOR_ARRAY_EXT | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_EXT Accepted by the | |
| GL_SECONDARY_COLOR_ARRAY_POINTER_EXT | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT Accepted by the | |
| GL_SECONDARY_COLOR_ARRAY_SIZE_EXT | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT Accepted by the | |
| GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT Accepted by the | |
| GL_SECONDARY_COLOR_ARRAY_TYPE_EXT | back to summary |
|---|---|
| public static final int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT Accepted by the | |
| EXTSecondaryColor | back to summary |
|---|---|
| protected EXTSecondaryColor() | |
| glSecondaryColor3bEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3bEXT(byte red, byte green, byte blue) Sets the R, G, and B components of the current secondary color.
| |
| glSecondaryColor3bvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3bvEXT(ByteBuffer v) Pointer version of
| |
| glSecondaryColor3dEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3dEXT(double red, double green, double blue) Double version of
| |
| glSecondaryColor3dvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3dvEXT(DoubleBuffer v) Pointer version of
| |
| glSecondaryColor3dvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3dvEXT(double[] v) Array version of: | |
| glSecondaryColor3fEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3fEXT(float red, float green, float blue) Float version of
| |
| glSecondaryColor3fvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3fvEXT(FloatBuffer v) Pointer version of
| |
| glSecondaryColor3fvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3fvEXT(float[] v) Array version of: | |
| glSecondaryColor3iEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3iEXT(int red, int green, int blue) Integer version of
| |
| glSecondaryColor3ivEXT | back to summary |
|---|---|
| public static void glSecondaryColor3ivEXT(IntBuffer v) Pointer version of
| |
| glSecondaryColor3ivEXT | back to summary |
|---|---|
| public static void glSecondaryColor3ivEXT(int[] v) Array version of: | |
| glSecondaryColor3sEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3sEXT(short red, short green, short blue) Short version of
| |
| glSecondaryColor3svEXT | back to summary |
|---|---|
| public static void glSecondaryColor3svEXT(ShortBuffer v) Pointer version of
| |
| glSecondaryColor3svEXT | back to summary |
|---|---|
| public static void glSecondaryColor3svEXT(short[] v) Array version of: | |
| glSecondaryColor3ubEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3ubEXT(byte red, byte green, byte blue) Unsigned version of
| |
| glSecondaryColor3ubvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3ubvEXT(ByteBuffer v) Pointer version of
| |
| glSecondaryColor3uiEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3uiEXT(int red, int green, int blue) Unsigned int version of
| |
| glSecondaryColor3uivEXT | back to summary |
|---|---|
| public static void glSecondaryColor3uivEXT(IntBuffer v) Pointer version of
| |
| glSecondaryColor3uivEXT | back to summary |
|---|---|
| public static void glSecondaryColor3uivEXT(int[] v) Array version of: | |
| glSecondaryColor3usEXT | back to summary |
|---|---|
| public static native void glSecondaryColor3usEXT(short red, short green, short blue) Unsigned short version of
| |
| glSecondaryColor3usvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3usvEXT(ShortBuffer v) Pointer version of
| |
| glSecondaryColor3usvEXT | back to summary |
|---|---|
| public static void glSecondaryColor3usvEXT(short[] v) Array version of: | |
| glSecondaryColorPointerEXT | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, ByteBuffer pointer) Specifies the location and organization of a secondary color array.
| |||||||||||||
| glSecondaryColorPointerEXT | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Specifies the location and organization of a secondary color array.
| |||||||||||||
| glSecondaryColorPointerEXT | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, ShortBuffer pointer) Specifies the location and organization of a secondary color array.
| |||||||||||||
| glSecondaryColorPointerEXT | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, IntBuffer pointer) Specifies the location and organization of a secondary color array.
| |||||||||||||
| glSecondaryColorPointerEXT | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, FloatBuffer pointer) Specifies the location and organization of a secondary color array.
| |||||||||||||
| glSecondaryColorPointerEXT | back to summary |
|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, short[] pointer) Array version of: | |
| glSecondaryColorPointerEXT | back to summary |
|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, int[] pointer) Array version of: | |
| glSecondaryColorPointerEXT | back to summary |
|---|---|
| public static void glSecondaryColorPointerEXT(int size, int type, int stride, float[] pointer) Array version of: | |
| nglSecondaryColor3bvEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3bvEXT(long v) Unsafe version of: | |
| nglSecondaryColor3dvEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3dvEXT(long v) Unsafe version of: | |
| nglSecondaryColor3fvEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3fvEXT(long v) Unsafe version of: | |
| nglSecondaryColor3ivEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3ivEXT(long v) Unsafe version of: | |
| nglSecondaryColor3svEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3svEXT(long v) Unsafe version of: | |
| nglSecondaryColor3ubvEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3ubvEXT(long v) Unsafe version of: | |
| nglSecondaryColor3uivEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3uivEXT(long v) Unsafe version of: | |
| nglSecondaryColor3usvEXT | back to summary |
|---|---|
| public static native void nglSecondaryColor3usvEXT(long v) Unsafe version of: | |
| nglSecondaryColorPointerEXT | back to summary |
|---|---|
| public static native void nglSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Unsafe version of: | |