Package org.lwjgl.opengles
Enum PixelFormat.Attrib
- All Implemented Interfaces:
Serializable
,Comparable<PixelFormat.Attrib>
,Constable
- Enclosing class:
PixelFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the default value of this attribute.int
Returns the EGL token that corresponds to this attribute.boolean
static PixelFormat.Attrib
Returns the enum constant of this type with the specified name.static PixelFormat.Attrib[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RED_SIZE
-
GREEN_SIZE
-
BLUE_SIZE
-
ALPHA_SIZE
-
LUMINANCE_SIZE
-
DEPTH_SIZE
-
STENCIL_SIZE
-
MIN_SWAP_INTERVAL
-
MAX_SWAP_INTERVAL
-
SAMPLES
-
SAMPLE_BUFFERS
-
TRANSPARENT_TYPE
-
TRANSPARENT_RED_VALUE
-
TRANSPARENT_GREEN_VALUE
-
TRANSPARENT_BLUE_VALUE
-
MULTISAMPLE_RESOLVE
-
SWAP_BEHAVIOR
-
COVERAGE_SAMPLES_NV
-
COVERAGE_BUFFERS_NV
-
DEPTH_ENCODING_NONLINEAR_NV
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getEGLAttrib
public int getEGLAttrib()Returns the EGL token that corresponds to this attribute.- Returns:
- the EGL attribute token
-
getDefaultValue
public int getDefaultValue()Returns the default value of this attribute. Attributes with default values will be ignored when choosing the EGLConfig.- Returns:
- the default value
-
isSurfaceAttrib
public boolean isSurfaceAttrib()
-