public static enum SoGLBufferObject.BufferObjectTargets extends java.lang.Enum<SoGLBufferObject.BufferObjectTargets> implements IntegerValuedEnum
Enum Constant and Description |
---|
ARRAY_BUFFER
The buffer is used as an array buffer, it can be used for vertices, normals, colors.
|
ELEMENT_ARRAY_BUFFER
The buffer is used as a pixel pack buffer, it is used to specify the indices for indexed geometries.
|
PIXEL_PACK_BUFFER
The buffer is used as a pixel pack buffer, it can be used as texture.
|
PIXEL_UNPACK_BUFFER
The buffer is used as a pixel unpack buffer, it can be used for readback operation.
|
SHADER_STORAGE_BUFFER
The buffer is used as a shader storage buffer, it can be used to perform random access reads, writes and atomic memory operations from a shader.
|
Modifier and Type | Method and Description |
---|---|
static SoGLBufferObject.BufferObjectTargets |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoGLBufferObject.BufferObjectTargets |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoGLBufferObject.BufferObjectTargets |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoGLBufferObject.BufferObjectTargets[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoGLBufferObject.BufferObjectTargets PIXEL_PACK_BUFFER
public static final SoGLBufferObject.BufferObjectTargets PIXEL_UNPACK_BUFFER
public static final SoGLBufferObject.BufferObjectTargets ARRAY_BUFFER
public static final SoGLBufferObject.BufferObjectTargets ELEMENT_ARRAY_BUFFER
public static final SoGLBufferObject.BufferObjectTargets SHADER_STORAGE_BUFFER
public static SoGLBufferObject.BufferObjectTargets[] values()
for (SoGLBufferObject.BufferObjectTargets c : SoGLBufferObject.BufferObjectTargets.values()) System.out.println(c);
public static SoGLBufferObject.BufferObjectTargets 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 SoGLBufferObject.BufferObjectTargets fromValue(int val)
valueOf(int)
instead.public static SoGLBufferObject.BufferObjectTargets 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