Package com.openinventor.inventor.nodes
Enum SoTexture.HW_Features
- java.lang.Object
-
- java.lang.Enum<SoTexture.HW_Features>
-
- com.openinventor.inventor.nodes.SoTexture.HW_Features
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoTexture.HW_Features>
- Enclosing class:
- SoTexture
public static enum SoTexture.HW_Features extends java.lang.Enum<SoTexture.HW_Features> implements IntegerValuedEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HW_AUTOMIPMAP
Check support for automatic mipmap generation.HW_BORDER_CLAMP
Check support for texture coordinates border clamp.HW_COMPRESSION_LATC
Check support for texture_compression_latc.HW_COMPRESSION_RGTC
Check support for texture_compression_rgtc.HW_COMPRESSION_S3TC
Check support for DDS support (S3TC)HW_DEPTHFORMAT
Check support for depth textures.HW_EDGE_CLAMP
Check support for texture coordinates edge clamp.HW_FLOATFORMAT
Check support for floating point texture format.HW_MIRRORED_REPEAT
Check support for texture coordinates mirrored repeat.HW_NPOT
Check support for non-power-of-2 textures.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoTexture.HW_Features
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoTexture.HW_Features
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoTexture.HW_Features[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HW_NPOT
public static final SoTexture.HW_Features HW_NPOT
Check support for non-power-of-2 textures.
-
HW_FLOATFORMAT
public static final SoTexture.HW_Features HW_FLOATFORMAT
Check support for floating point texture format.
-
HW_DEPTHFORMAT
public static final SoTexture.HW_Features HW_DEPTHFORMAT
Check support for depth textures.
-
HW_AUTOMIPMAP
public static final SoTexture.HW_Features HW_AUTOMIPMAP
Check support for automatic mipmap generation.
-
HW_BORDER_CLAMP
public static final SoTexture.HW_Features HW_BORDER_CLAMP
Check support for texture coordinates border clamp.
-
HW_EDGE_CLAMP
public static final SoTexture.HW_Features HW_EDGE_CLAMP
Check support for texture coordinates edge clamp.
-
HW_MIRRORED_REPEAT
public static final SoTexture.HW_Features HW_MIRRORED_REPEAT
Check support for texture coordinates mirrored repeat.
-
HW_COMPRESSION_S3TC
public static final SoTexture.HW_Features HW_COMPRESSION_S3TC
Check support for DDS support (S3TC)
-
HW_COMPRESSION_LATC
public static final SoTexture.HW_Features HW_COMPRESSION_LATC
Check support for texture_compression_latc.
-
HW_COMPRESSION_RGTC
public static final SoTexture.HW_Features HW_COMPRESSION_RGTC
Check support for texture_compression_rgtc.
-
-
Method Detail
-
values
public static SoTexture.HW_Features[] 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 (SoTexture.HW_Features c : SoTexture.HW_Features.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoTexture.HW_Features 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
-
valueOf
public static SoTexture.HW_Features valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-