Enum Class AttribType
- All Implemented Interfaces:
Serializable, Comparable<AttribType>, java.lang.constant.Constable
Attribute types for attribute states.
- Author:
- Matthew Tropiano
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccumulation buffer attribute bit.Color buffer attribute bit.Current state attribute bit.Current ENABLE state. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttribTypeReturns the enum constant of this class with the specified name.static AttribType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCUM_BUFFER
Accumulation buffer attribute bit.Governs current accumulation buffer clear value.
-
COLOR_BUFFER
Color buffer attribute bit.Governs:
- Alpha test state, function, and values.
- Blending state, function, and values.
- GL_DITHER state.
- Current drawing buffer(s).
- Current logical operation state and function.
- Current RGBA/index clear color and write masks.
-
CURRENT
Current state attribute bit.Governs:
- Current RGBA color or color index.
- Current lighting normal and texture coordinate.
- Current raster position, GL_CURRENT_RASTER_POSITION_VALID, and GL_EDGE_FLAG.
- GL_DEPTH_BUFFER_BITGL_DEPTH_TEST state, depth buffer function, depth buffer clear value, and GL_DEPTH_WRITEMASK state.
-
DEPTH_BUFFER
-
ENABLE
Current ENABLE state.Governs:
- GL_ALPHA_TEST, GL_AUTO_NORMAL, and GL_BLEND state.
- User-defined clipping plane state.
- GL_COLOR_MATERIAL, GL_CULL_FACE, GL_DEPTH_TEST, GL_DITHER, GL_FOG, GL_LIGHTi, GL_LIGHTING, GL_LINE_SMOOTH, GL_LINE_STIPPLE, GL_LOGIC_OP, GL_MAP1_x, GL_MAP2_x, GL_NORMALIZE, GL_POINT_SMOOTH, GL_POLYGON_SMOOTH, GL_POLYGON_STIPPLE, GL_SCISSOR_TEST, GL_STENCIL_TEST, GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_GEN_x states.
-
EVAL
-
FOG
-
HINT
-
LIGHTING
-
LINE
-
LIST
-
PIXEL_MODE
-
POINT
-
POLYGON
-
POLYGON_STIPPLE
-
SCISSOR
-
STENCIL_BUFFER
-
TEXTURE
-
TRANSFORM
-
VIEWPORT
-
-
Field Details
-
glValue
public final int glValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-