public static enum SoBufferObject.AccessModes extends java.lang.Enum<SoBufferObject.AccessModes> implements IntegerValuedEnum
Enum Constant and Description |
---|
READ_ONLY
The target buffer initially has the same contents as the source buffer.
|
READ_WRITE
The target buffer initially has the same contents as the source buffer and the source buffer will contain the contents of the target buffer after the unmap.
|
SET
The target buffer contents are initially undefined (although they may be the same as the source buffer) but the source buffer will contain the contents of the target buffer after the unmap.
|
Modifier and Type | Method and Description |
---|---|
static SoBufferObject.AccessModes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoBufferObject.AccessModes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoBufferObject.AccessModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoBufferObject.AccessModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoBufferObject.AccessModes READ_ONLY
public static final SoBufferObject.AccessModes SET
public static final SoBufferObject.AccessModes READ_WRITE
public static SoBufferObject.AccessModes[] values()
for (SoBufferObject.AccessModes c : SoBufferObject.AccessModes.values()) System.out.println(c);
public static SoBufferObject.AccessModes 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@Deprecated public static SoBufferObject.AccessModes fromValue(int val)
valueOf(int)
instead.public static SoBufferObject.AccessModes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com