public static enum SoRenderToTarget.ModeType extends java.lang.Enum<SoRenderToTarget.ModeType> implements IntegerValuedEnum
Enum Constant and Description |
---|
AUTO
Default value, use OIV auto detection algorithm.
|
INTERNAL
Use an internal buffer for the rendering.
|
NONE
Do not use any target.
|
TARGET_COPY
After the rendering the rendered content is copied back to the node in CPU memory (
SoTexture2 only). |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoRenderToTarget.ModeType |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoRenderToTarget.ModeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoRenderToTarget.ModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoRenderToTarget.ModeType AUTO
targets
field. NOTE: The node will use INTERNAL for DEPTH and COLOR0, NONE for the others.public static final SoRenderToTarget.ModeType INTERNAL
public static final SoRenderToTarget.ModeType TARGET_COPY
SoTexture2
only).public static final SoRenderToTarget.ModeType NONE
public static SoRenderToTarget.ModeType[] values()
for (SoRenderToTarget.ModeType c : SoRenderToTarget.ModeType.values()) System.out.println(c);
public static SoRenderToTarget.ModeType 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 nullpublic static SoRenderToTarget.ModeType valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com