public static enum PixelFormat.DataType extends Enum<PixelFormat.DataType>
Modifier and Type | Method and Description |
---|---|
int |
getSizeInBytes() |
static PixelFormat.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelFormat.DataType BYTE
public static final PixelFormat.DataType INT
public static final PixelFormat.DataType FLOAT
public static PixelFormat.DataType[] values()
for (PixelFormat.DataType c : PixelFormat.DataType.values()) System.out.println(c);
public static PixelFormat.DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getSizeInBytes()
Copyright © 2020. All rights reserved.