public class EXTSecondaryColor
extends java.lang.Object
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 |
|---|---|
static int |
GL_COLOR_SUM_EXT
Accepted by the
cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev. |
static int |
GL_CURRENT_SECONDARY_COLOR_EXT
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_SECONDARY_COLOR_ARRAY_EXT
Accepted by the
array parameter of EnableClientState and DisableClientState. |
static int |
GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
Accepted by the
pname parameter of GetPointerv. |
static int |
GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glSecondaryColor3bEXT(byte red,
byte green,
byte blue)
Sets the R, G, and B components of the current secondary color.
|
static void |
glSecondaryColor3bvEXT(java.nio.ByteBuffer v)
Pointer version of
SecondaryColor3bEXT. |
static void |
glSecondaryColor3dEXT(double red,
double green,
double blue)
Double version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3dvEXT(double[] v)
Array version of:
SecondaryColor3dvEXT |
static void |
glSecondaryColor3dvEXT(java.nio.DoubleBuffer v)
Pointer version of
SecondaryColor3dEXT. |
static void |
glSecondaryColor3fEXT(float red,
float green,
float blue)
Float version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3fvEXT(float[] v)
Array version of:
SecondaryColor3fvEXT |
static void |
glSecondaryColor3fvEXT(java.nio.FloatBuffer v)
Pointer version of
SecondaryColor3fEXT. |
static void |
glSecondaryColor3iEXT(int red,
int green,
int blue)
Integer version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3ivEXT(int[] v)
Array version of:
SecondaryColor3ivEXT |
static void |
glSecondaryColor3ivEXT(java.nio.IntBuffer v)
Pointer version of
SecondaryColor3iEXT. |
static void |
glSecondaryColor3sEXT(short red,
short green,
short blue)
Short version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3svEXT(short[] v)
Array version of:
SecondaryColor3svEXT |
static void |
glSecondaryColor3svEXT(java.nio.ShortBuffer v)
Pointer version of
SecondaryColor3sEXT. |
static void |
glSecondaryColor3ubEXT(byte red,
byte green,
byte blue)
Unsigned version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3ubvEXT(java.nio.ByteBuffer v)
Pointer version of
SecondaryColor3ubEXT. |
static void |
glSecondaryColor3uiEXT(int red,
int green,
int blue)
Unsigned int version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3uivEXT(int[] v)
Array version of:
SecondaryColor3uivEXT |
static void |
glSecondaryColor3uivEXT(java.nio.IntBuffer v)
Pointer version of
SecondaryColor3uiEXT. |
static void |
glSecondaryColor3usEXT(short red,
short green,
short blue)
Unsigned short version of
SecondaryColor3bEXT |
static void |
glSecondaryColor3usvEXT(short[] v)
Array version of:
SecondaryColor3usvEXT |
static void |
glSecondaryColor3usvEXT(java.nio.ShortBuffer v)
Pointer version of
SecondaryColor3usEXT. |
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a secondary color array.
|
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
float[] pointer)
Array version of:
SecondaryColorPointerEXT |
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a secondary color array.
|
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
int[] pointer)
Array version of:
SecondaryColorPointerEXT |
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a secondary color array.
|
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
long pointer)
Specifies the location and organization of a secondary color array.
|
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
short[] pointer)
Array version of:
SecondaryColorPointerEXT |
static void |
glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a secondary color array.
|
static void |
nglSecondaryColor3bvEXT(long v)
Unsafe version of:
SecondaryColor3bvEXT |
static void |
nglSecondaryColor3dvEXT(long v)
Unsafe version of:
SecondaryColor3dvEXT |
static void |
nglSecondaryColor3fvEXT(long v)
Unsafe version of:
SecondaryColor3fvEXT |
static void |
nglSecondaryColor3ivEXT(long v)
Unsafe version of:
SecondaryColor3ivEXT |
static void |
nglSecondaryColor3svEXT(long v)
Unsafe version of:
SecondaryColor3svEXT |
static void |
nglSecondaryColor3ubvEXT(long v)
Unsafe version of:
SecondaryColor3ubvEXT |
static void |
nglSecondaryColor3uivEXT(long v)
Unsafe version of:
SecondaryColor3uivEXT |
static void |
nglSecondaryColor3usvEXT(long v)
Unsafe version of:
SecondaryColor3usvEXT |
static void |
nglSecondaryColorPointerEXT(int size,
int type,
int stride,
long pointer)
Unsafe version of:
SecondaryColorPointerEXT |
public static final int GL_COLOR_SUM_EXT
cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev.public static final int GL_CURRENT_SECONDARY_COLOR_EXT
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
pname parameter of GetPointerv.public static final int GL_SECONDARY_COLOR_ARRAY_EXT
array parameter of EnableClientState and DisableClientState.public static void glSecondaryColor3bEXT(byte red,
byte green,
byte blue)
red - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3sEXT(short red,
short green,
short blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3iEXT(int red,
int green,
int blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3fEXT(float red,
float green,
float blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3dEXT(double red,
double green,
double blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3ubEXT(byte red,
byte green,
byte blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3usEXT(short red,
short green,
short blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void glSecondaryColor3uiEXT(int red,
int green,
int blue)
SecondaryColor3bEXTred - the red component of the current secondary colorgreen - the green component of the current secondary colorblue - the blue component of the current secondary colorpublic static void nglSecondaryColor3bvEXT(long v)
SecondaryColor3bvEXTpublic static void glSecondaryColor3bvEXT(java.nio.ByteBuffer v)
SecondaryColor3bEXT.v - the secondary color bufferpublic static void nglSecondaryColor3svEXT(long v)
SecondaryColor3svEXTpublic static void glSecondaryColor3svEXT(java.nio.ShortBuffer v)
SecondaryColor3sEXT.v - the secondary color bufferpublic static void nglSecondaryColor3ivEXT(long v)
SecondaryColor3ivEXTpublic static void glSecondaryColor3ivEXT(java.nio.IntBuffer v)
SecondaryColor3iEXT.v - the secondary color bufferpublic static void nglSecondaryColor3fvEXT(long v)
SecondaryColor3fvEXTpublic static void glSecondaryColor3fvEXT(java.nio.FloatBuffer v)
SecondaryColor3fEXT.v - the secondary color bufferpublic static void nglSecondaryColor3dvEXT(long v)
SecondaryColor3dvEXTpublic static void glSecondaryColor3dvEXT(java.nio.DoubleBuffer v)
SecondaryColor3dEXT.v - the secondary color bufferpublic static void nglSecondaryColor3ubvEXT(long v)
SecondaryColor3ubvEXTpublic static void glSecondaryColor3ubvEXT(java.nio.ByteBuffer v)
SecondaryColor3ubEXT.v - the secondary color bufferpublic static void nglSecondaryColor3usvEXT(long v)
SecondaryColor3usvEXTpublic static void glSecondaryColor3usvEXT(java.nio.ShortBuffer v)
SecondaryColor3usEXT.v - the secondary color bufferpublic static void nglSecondaryColor3uivEXT(long v)
SecondaryColor3uivEXTpublic static void glSecondaryColor3uivEXT(java.nio.IntBuffer v)
SecondaryColor3uiEXT.v - the secondary color bufferpublic static void nglSecondaryColorPointerEXT(int size,
int type,
int stride,
long pointer)
SecondaryColorPointerEXTpublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. Must be:| 3 |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the secondary color array datapublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
long pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. Must be:| 3 |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the secondary color array datapublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. Must be:| 3 |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the secondary color array datapublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. Must be:| 3 |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the secondary color array datapublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. Must be:| 3 |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the secondary color array datapublic static void glSecondaryColor3svEXT(short[] v)
SecondaryColor3svEXTpublic static void glSecondaryColor3ivEXT(int[] v)
SecondaryColor3ivEXTpublic static void glSecondaryColor3fvEXT(float[] v)
SecondaryColor3fvEXTpublic static void glSecondaryColor3dvEXT(double[] v)
SecondaryColor3dvEXTpublic static void glSecondaryColor3usvEXT(short[] v)
SecondaryColor3usvEXTpublic static void glSecondaryColor3uivEXT(int[] v)
SecondaryColor3uivEXTpublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
short[] pointer)
SecondaryColorPointerEXTpublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
int[] pointer)
SecondaryColorPointerEXTpublic static void glSecondaryColorPointerEXT(int size,
int type,
int stride,
float[] pointer)
SecondaryColorPointerEXTCopyright LWJGL. All Rights Reserved. License terms.