Package com.banuba.sdk.scene
Enum PixelFormatType
- java.lang.Object
-
- java.lang.Enum<PixelFormatType>
-
- com.banuba.sdk.scene.PixelFormatType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PixelFormatType>
public enum PixelFormatType extends java.lang.Enum<PixelFormatType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PixelFormatType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PixelFormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R8
public static final PixelFormatType R8
-
RG8
public static final PixelFormatType RG8
-
RGB8
public static final PixelFormatType RGB8
-
RGBA8
public static final PixelFormatType RGBA8
-
BGRA8
public static final PixelFormatType BGRA8
-
R16F
public static final PixelFormatType R16F
-
RG16F
public static final PixelFormatType RG16F
-
RGBA16F
public static final PixelFormatType RGBA16F
-
R32F
public static final PixelFormatType R32F
-
RGBA32F
public static final PixelFormatType RGBA32F
-
RGB10A2
public static final PixelFormatType RGB10A2
-
DEPTH16
public static final PixelFormatType DEPTH16
-
DEPTH24
public static final PixelFormatType DEPTH24
-
DEPTH32F
public static final PixelFormatType DEPTH32F
-
-
Method Detail
-
values
public static PixelFormatType[] 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 (PixelFormatType c : PixelFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PixelFormatType 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
-
-