public enum RenderTargetUsage extends java.lang.Enum<RenderTargetUsage>
Enum Constant and Description |
---|
DiscardContents
Always clears the render target data.
|
PlatformContents
Either clears or keeps the data, depending on the current platform.
|
PreserveContents
Always keeps the render target data.
|
Modifier and Type | Method and Description |
---|---|
static RenderTargetUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderTargetUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderTargetUsage DiscardContents
public static final RenderTargetUsage PreserveContents
public static final RenderTargetUsage PlatformContents
public static RenderTargetUsage[] values()
for (RenderTargetUsage c : RenderTargetUsage.values()) System.out.println(c);
public static RenderTargetUsage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null