Enum Class BufferTargetType
- All Implemented Interfaces:
OGLVersioned, Serializable, Comparable<BufferTargetType>, java.lang.constant.Constable
Type target enumeration for one-dimensional buffer types.
- Author:
- Matthew Tropiano
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBuffer is an Atomic Counter Buffer.Buffer is a Copy Read Buffer.Buffer is a Copy Write Buffer.Buffer is a Dispatch Indirect Buffer.Buffer is a Draw Indirect Buffer.Buffer holds GEOMETRY information (internally, this is GL_ARRAY_BUFFER).Buffer holds ELEMENT INDEX information (internally, this is GL_ELEMENT_ARRAY_BUFFER).Buffer is a Parameter Buffer.Buffer contains unpacked data (raw pixel data to be sent to OpenGL or read from OpenGL to an application).Buffer contains packed data (raw data specific to OpenGL implementation).Buffer is a Shader Storage Buffer.Buffer is a Texture Buffer.Buffer is a Transform Feedback Buffer.Buffer is a Uniform Buffer. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCore()static BufferTargetTypeReturns the enum constant of this class with the specified name.static BufferTargetType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GEOMETRY
Buffer holds GEOMETRY information (internally, this is GL_ARRAY_BUFFER). -
INDICES
Buffer holds ELEMENT INDEX information (internally, this is GL_ELEMENT_ARRAY_BUFFER). -
RAW_DATA
Buffer contains packed data (raw data specific to OpenGL implementation). -
PIXEL
Buffer contains unpacked data (raw pixel data to be sent to OpenGL or read from OpenGL to an application). -
TRANSFORM_FEEDBACK
Buffer is a Transform Feedback Buffer. -
UNIFORM
Buffer is a Uniform Buffer. -
TEXTURE
Buffer is a Texture Buffer. -
COPY_READ
Buffer is a Copy Read Buffer. -
COPY_WRITE
Buffer is a Copy Write Buffer. -
DRAW_INDIRECT
Buffer is a Draw Indirect Buffer. -
ATOMIC_COUNTER
Buffer is an Atomic Counter Buffer. -
DISPATCH_INDIRECT
Buffer is a Dispatch Indirect Buffer. -
SHADER_STORAGE
Buffer is a Shader Storage Buffer. -
PARAMETER_BUFFER
Buffer is a Parameter Buffer.
-
-
Field Details
-
glValue
public final int glValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getVersion
- Specified by:
getVersionin interfaceOGLVersioned- Returns:
- the version that this object or value is available for (and higher).
-
isCore
public boolean isCore()- Specified by:
isCorein interfaceOGLVersioned- Returns:
- true if this object is considered part of core spec, false otherwise.
-