Package org.lwjgl.opengl
Class EXTSecondaryColor
java.lang.Object
org.lwjgl.opengl.EXTSecondaryColor
Native bindings to the EXT_secondary_color extension.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thearrayparameter of EnableClientState and DisableClientState.static final intAccepted by thepnameparameter of GetPointerv.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglSecondaryColor3bEXT(byte red, byte green, byte blue) Sets the R, G, and B components of the current secondary color.static voidPointer version ofSecondaryColor3bEXT.static voidglSecondaryColor3dEXT(double red, double green, double blue) Double version ofSecondaryColor3bEXTstatic voidglSecondaryColor3dvEXT(double[] v) Array version of:SecondaryColor3dvEXTstatic voidPointer version ofSecondaryColor3dEXT.static voidglSecondaryColor3fEXT(float red, float green, float blue) Float version ofSecondaryColor3bEXTstatic voidglSecondaryColor3fvEXT(float[] v) Array version of:SecondaryColor3fvEXTstatic voidPointer version ofSecondaryColor3fEXT.static voidglSecondaryColor3iEXT(int red, int green, int blue) Integer version ofSecondaryColor3bEXTstatic voidglSecondaryColor3ivEXT(int[] v) Array version of:SecondaryColor3ivEXTstatic voidPointer version ofSecondaryColor3iEXT.static voidglSecondaryColor3sEXT(short red, short green, short blue) Short version ofSecondaryColor3bEXTstatic voidglSecondaryColor3svEXT(short[] v) Array version of:SecondaryColor3svEXTstatic voidPointer version ofSecondaryColor3sEXT.static voidglSecondaryColor3ubEXT(byte red, byte green, byte blue) Unsigned version ofSecondaryColor3bEXTstatic voidPointer version ofSecondaryColor3ubEXT.static voidglSecondaryColor3uiEXT(int red, int green, int blue) Unsigned int version ofSecondaryColor3bEXTstatic voidglSecondaryColor3uivEXT(int[] v) Array version of:SecondaryColor3uivEXTstatic voidPointer version ofSecondaryColor3uiEXT.static voidglSecondaryColor3usEXT(short red, short green, short blue) Unsigned short version ofSecondaryColor3bEXTstatic voidglSecondaryColor3usvEXT(short[] v) Array version of:SecondaryColor3usvEXTstatic voidPointer version ofSecondaryColor3usEXT.static voidglSecondaryColorPointerEXT(int size, int type, int stride, float[] pointer) Array version of:SecondaryColorPointerEXTstatic voidglSecondaryColorPointerEXT(int size, int type, int stride, int[] pointer) Array version of:SecondaryColorPointerEXTstatic voidglSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Specifies the location and organization of a secondary color array.static voidglSecondaryColorPointerEXT(int size, int type, int stride, short[] pointer) Array version of:SecondaryColorPointerEXTstatic voidglSecondaryColorPointerEXT(int size, int type, int stride, ByteBuffer pointer) Specifies the location and organization of a secondary color array.static voidglSecondaryColorPointerEXT(int size, int type, int stride, FloatBuffer pointer) Specifies the location and organization of a secondary color array.static voidglSecondaryColorPointerEXT(int size, int type, int stride, IntBuffer pointer) Specifies the location and organization of a secondary color array.static voidglSecondaryColorPointerEXT(int size, int type, int stride, ShortBuffer pointer) Specifies the location and organization of a secondary color array.static voidnglSecondaryColor3bvEXT(long v) Unsafe version of:SecondaryColor3bvEXTstatic voidnglSecondaryColor3dvEXT(long v) Unsafe version of:SecondaryColor3dvEXTstatic voidnglSecondaryColor3fvEXT(long v) Unsafe version of:SecondaryColor3fvEXTstatic voidnglSecondaryColor3ivEXT(long v) Unsafe version of:SecondaryColor3ivEXTstatic voidnglSecondaryColor3svEXT(long v) Unsafe version of:SecondaryColor3svEXTstatic voidnglSecondaryColor3ubvEXT(long v) Unsafe version of:SecondaryColor3ubvEXTstatic voidnglSecondaryColor3uivEXT(long v) Unsafe version of:SecondaryColor3uivEXTstatic voidnglSecondaryColor3usvEXT(long v) Unsafe version of:SecondaryColor3usvEXTstatic voidnglSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Unsafe version of:SecondaryColorPointerEXT
-
Field Details
-
GL_COLOR_SUM_EXT
public static final int GL_COLOR_SUM_EXTAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_CURRENT_SECONDARY_COLOR_EXT
public static final int GL_CURRENT_SECONDARY_COLOR_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
public static final int GL_SECONDARY_COLOR_ARRAY_SIZE_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
public static final int GL_SECONDARY_COLOR_ARRAY_TYPE_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXTAccepted by thepnameparameter of GetPointerv.- See Also:
-
GL_SECONDARY_COLOR_ARRAY_EXT
public static final int GL_SECONDARY_COLOR_ARRAY_EXTAccepted by thearrayparameter of EnableClientState and DisableClientState.- See Also:
-
-
Method Details
-
glSecondaryColor3bEXT
public static void glSecondaryColor3bEXT(byte red, byte green, byte blue) Sets the R, G, and B components of the current secondary color.- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3sEXT
public static void glSecondaryColor3sEXT(short red, short green, short blue) Short version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3iEXT
public static void glSecondaryColor3iEXT(int red, int green, int blue) Integer version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3fEXT
public static void glSecondaryColor3fEXT(float red, float green, float blue) Float version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3dEXT
public static void glSecondaryColor3dEXT(double red, double green, double blue) Double version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3ubEXT
public static void glSecondaryColor3ubEXT(byte red, byte green, byte blue) Unsigned version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3usEXT
public static void glSecondaryColor3usEXT(short red, short green, short blue) Unsigned short version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
glSecondaryColor3uiEXT
public static void glSecondaryColor3uiEXT(int red, int green, int blue) Unsigned int version ofSecondaryColor3bEXT- Parameters:
red- the red component of the current secondary colorgreen- the green component of the current secondary colorblue- the blue component of the current secondary color
-
nglSecondaryColor3bvEXT
public static void nglSecondaryColor3bvEXT(long v) Unsafe version of:SecondaryColor3bvEXT -
glSecondaryColor3bvEXT
Pointer version ofSecondaryColor3bEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3svEXT
public static void nglSecondaryColor3svEXT(long v) Unsafe version of:SecondaryColor3svEXT -
glSecondaryColor3svEXT
Pointer version ofSecondaryColor3sEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3ivEXT
public static void nglSecondaryColor3ivEXT(long v) Unsafe version of:SecondaryColor3ivEXT -
glSecondaryColor3ivEXT
Pointer version ofSecondaryColor3iEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3fvEXT
public static void nglSecondaryColor3fvEXT(long v) Unsafe version of:SecondaryColor3fvEXT -
glSecondaryColor3fvEXT
Pointer version ofSecondaryColor3fEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3dvEXT
public static void nglSecondaryColor3dvEXT(long v) Unsafe version of:SecondaryColor3dvEXT -
glSecondaryColor3dvEXT
Pointer version ofSecondaryColor3dEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3ubvEXT
public static void nglSecondaryColor3ubvEXT(long v) Unsafe version of:SecondaryColor3ubvEXT -
glSecondaryColor3ubvEXT
Pointer version ofSecondaryColor3ubEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3usvEXT
public static void nglSecondaryColor3usvEXT(long v) Unsafe version of:SecondaryColor3usvEXT -
glSecondaryColor3usvEXT
Pointer version ofSecondaryColor3usEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColor3uivEXT
public static void nglSecondaryColor3uivEXT(long v) Unsafe version of:SecondaryColor3uivEXT -
glSecondaryColor3uivEXT
Pointer version ofSecondaryColor3uiEXT.- Parameters:
v- the secondary color buffer
-
nglSecondaryColorPointerEXT
public static void nglSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Unsafe version of:SecondaryColorPointerEXT -
glSecondaryColorPointerEXT
Specifies the location and organization of a secondary color array.- Parameters:
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:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the secondary color array data
-
glSecondaryColorPointerEXT
public static void glSecondaryColorPointerEXT(int size, int type, int stride, long pointer) Specifies the location and organization of a secondary color array.- Parameters:
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:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the secondary color array data
-
glSecondaryColorPointerEXT
Specifies the location and organization of a secondary color array.- Parameters:
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:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the secondary color array data
-
glSecondaryColorPointerEXT
Specifies the location and organization of a secondary color array.- Parameters:
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:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the secondary color array data
-
glSecondaryColorPointerEXT
Specifies the location and organization of a secondary color array.- Parameters:
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:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the secondary color array data
-
glSecondaryColor3svEXT
public static void glSecondaryColor3svEXT(short[] v) Array version of:SecondaryColor3svEXT -
glSecondaryColor3ivEXT
public static void glSecondaryColor3ivEXT(int[] v) Array version of:SecondaryColor3ivEXT -
glSecondaryColor3fvEXT
public static void glSecondaryColor3fvEXT(float[] v) Array version of:SecondaryColor3fvEXT -
glSecondaryColor3dvEXT
public static void glSecondaryColor3dvEXT(double[] v) Array version of:SecondaryColor3dvEXT -
glSecondaryColor3usvEXT
public static void glSecondaryColor3usvEXT(short[] v) Array version of:SecondaryColor3usvEXT -
glSecondaryColor3uivEXT
public static void glSecondaryColor3uivEXT(int[] v) Array version of:SecondaryColor3uivEXT -
glSecondaryColorPointerEXT
public static void glSecondaryColorPointerEXT(int size, int type, int stride, short[] pointer) Array version of:SecondaryColorPointerEXT -
glSecondaryColorPointerEXT
public static void glSecondaryColorPointerEXT(int size, int type, int stride, int[] pointer) Array version of:SecondaryColorPointerEXT -
glSecondaryColorPointerEXT
public static void glSecondaryColorPointerEXT(int size, int type, int stride, float[] pointer) Array version of:SecondaryColorPointerEXT
-