public static enum SoShaderParameterBufferObject.BufferTypes extends java.lang.Enum<SoShaderParameterBufferObject.BufferTypes> implements IntegerValuedEnum
Enum Constant and Description |
---|
SHADER_STORAGE_BUFFER |
UNIFORM_BUFFER |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoShaderParameterBufferObject.BufferTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoShaderParameterBufferObject.BufferTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoShaderParameterBufferObject.BufferTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoShaderParameterBufferObject.BufferTypes SHADER_STORAGE_BUFFER
public static final SoShaderParameterBufferObject.BufferTypes UNIFORM_BUFFER
public static SoShaderParameterBufferObject.BufferTypes[] values()
for (SoShaderParameterBufferObject.BufferTypes c : SoShaderParameterBufferObject.BufferTypes.values()) System.out.println(c);
public static SoShaderParameterBufferObject.BufferTypes 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 SoShaderParameterBufferObject.BufferTypes 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