public static enum FBObject.Attachment.Type extends Enum<FBObject.Attachment.Type>
Enum Constant and Description |
---|
COLOR |
COLOR_TEXTURE |
DEPTH |
DEPTH_STENCIL |
DEPTH_TEXTURE |
NONE |
STENCIL |
STENCIL_TEXTURE |
Modifier and Type | Method and Description |
---|---|
static FBObject.Attachment.Type |
determine(int format)
|
static FBObject.Attachment.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FBObject.Attachment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FBObject.Attachment.Type NONE
public static final FBObject.Attachment.Type DEPTH
public static final FBObject.Attachment.Type STENCIL
public static final FBObject.Attachment.Type DEPTH_STENCIL
public static final FBObject.Attachment.Type COLOR
public static final FBObject.Attachment.Type COLOR_TEXTURE
public static final FBObject.Attachment.Type DEPTH_TEXTURE
public static final FBObject.Attachment.Type STENCIL_TEXTURE
public static FBObject.Attachment.Type[] values()
for (FBObject.Attachment.Type c : FBObject.Attachment.Type.values()) System.out.println(c);
public static FBObject.Attachment.Type 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 static FBObject.Attachment.Type determine(int format) throws IllegalArgumentException
IllegalArgumentException
- if format
cannot be handled.Copyright 2010 JogAmp Community.