Package io.github.humbleui.skija
Enum GLBackendState
- java.lang.Object
-
- java.lang.Enum<GLBackendState>
-
- io.github.humbleui.skija.GLBackendState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GLBackendState>
public enum GLBackendState extends java.lang.Enum<GLBackendState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLENDFIXED_FUNCTIONMISCMSAA_ENABLEPATH_RENDERINGPIXEL_STOREPROGRAMRENDER_TARGETSTENCILTEXTURE_BINDINGAlso includes samplers bound to texture units.VERTEXVIEWView state stands for scissor and viewport
-
Field Summary
Fields Modifier and Type Field Description int_bitstatic GLBackendState[]_values
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GLBackendStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GLBackendState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RENDER_TARGET
public static final GLBackendState RENDER_TARGET
-
TEXTURE_BINDING
public static final GLBackendState TEXTURE_BINDING
Also includes samplers bound to texture units.
-
VIEW
public static final GLBackendState VIEW
View state stands for scissor and viewport
-
BLEND
public static final GLBackendState BLEND
-
MSAA_ENABLE
public static final GLBackendState MSAA_ENABLE
-
VERTEX
public static final GLBackendState VERTEX
-
STENCIL
public static final GLBackendState STENCIL
-
PIXEL_STORE
public static final GLBackendState PIXEL_STORE
-
PROGRAM
public static final GLBackendState PROGRAM
-
FIXED_FUNCTION
public static final GLBackendState FIXED_FUNCTION
-
MISC
public static final GLBackendState MISC
-
PATH_RENDERING
public static final GLBackendState PATH_RENDERING
-
-
Field Detail
-
_values
@Internal public static final GLBackendState[] _values
-
_bit
@Internal public final int _bit
-
-
Method Detail
-
values
public static GLBackendState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GLBackendState c : GLBackendState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GLBackendState valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-