Package io.github.humbleui.skija
Enum SurfaceColorFormat
- java.lang.Object
-
- java.lang.Enum<SurfaceColorFormat>
-
- io.github.humbleui.skija.SurfaceColorFormat
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SurfaceColorFormat>
public enum SurfaceColorFormat extends java.lang.Enum<SurfaceColorFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A16_FLOATA16_UNORMALPHA_8ARGB_4444BGRA_8888GRAY_8R16G16_FLOATR16G16_UNORMR16G16B16A16_UNORMR8G8_UNORMRGB_101010xRGB_565RGB_888xRGBA_1010102RGBA_8888RGBA_F16RGBA_F16_NORMRGBA_F32UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description static SurfaceColorFormat[]_values
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SurfaceColorFormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SurfaceColorFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SurfaceColorFormat UNKNOWN
-
ALPHA_8
public static final SurfaceColorFormat ALPHA_8
-
RGB_565
public static final SurfaceColorFormat RGB_565
-
ARGB_4444
public static final SurfaceColorFormat ARGB_4444
-
RGBA_8888
public static final SurfaceColorFormat RGBA_8888
-
RGB_888x
public static final SurfaceColorFormat RGB_888x
-
BGRA_8888
public static final SurfaceColorFormat BGRA_8888
-
RGBA_1010102
public static final SurfaceColorFormat RGBA_1010102
-
RGB_101010x
public static final SurfaceColorFormat RGB_101010x
-
GRAY_8
public static final SurfaceColorFormat GRAY_8
-
RGBA_F16_NORM
public static final SurfaceColorFormat RGBA_F16_NORM
-
RGBA_F16
public static final SurfaceColorFormat RGBA_F16
-
RGBA_F32
public static final SurfaceColorFormat RGBA_F32
-
R8G8_UNORM
public static final SurfaceColorFormat R8G8_UNORM
-
A16_FLOAT
public static final SurfaceColorFormat A16_FLOAT
-
R16G16_FLOAT
public static final SurfaceColorFormat R16G16_FLOAT
-
A16_UNORM
public static final SurfaceColorFormat A16_UNORM
-
R16G16_UNORM
public static final SurfaceColorFormat R16G16_UNORM
-
R16G16B16A16_UNORM
public static final SurfaceColorFormat R16G16B16A16_UNORM
-
-
Field Detail
-
_values
@Internal public static final SurfaceColorFormat[] _values
-
-
Method Detail
-
values
public static SurfaceColorFormat[] 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 (SurfaceColorFormat c : SurfaceColorFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SurfaceColorFormat 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
-
-