Class GL15
- java.lang.Object
-
- org.lwjgl.opengl.GL15
-
public class GL15 extends java.lang.Object
The core OpenGL 1.5 functionality.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static int
GL_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_BUFFER_ACCESS
Accepted by thepname
parameter of GetBufferParameteriv.static int
GL_BUFFER_MAP_POINTER
Accepted by thepname
parameter of GetBufferPointerv.static int
GL_BUFFER_MAPPED
GL_BUFFER_SIZE
GL_BUFFER_USAGEAccepted by thepname
parameter of GetBufferParameteriv.static int
GL_COLOR_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_CURRENT_FOG_COORD
New token names.static int
GL_CURRENT_QUERY
Accepted by thepname
parameter of GetQueryiv.static int
GL_DYNAMIC_COPY
GL_DYNAMIC_DRAW
GL_DYNAMIC_READAccepted by theusage
parameter of BufferData.static int
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_ELEMENT_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static int
GL_ELEMENT_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_FOG_COORD
GL_FOG_COORD_ARRAY
GL_FOG_COORD_ARRAY_BUFFER_BINDING
GL_FOG_COORD_ARRAY_POINTER
GL_FOG_COORD_ARRAY_STRIDE
GL_FOG_COORD_ARRAY_TYPE
GL_FOG_COORD_SRCNew token names.static int
GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
GL_INDEX_ARRAY_BUFFER_BINDING
GL_NORMAL_ARRAY_BUFFER_BINDINGAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_QUERY_COUNTER_BITS
Accepted by thepname
parameter of GetQueryiv.static int
GL_QUERY_RESULT
GL_QUERY_RESULT_AVAILABLEAccepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.static int
GL_READ_ONLY
GL_READ_WRITEAccepted by theaccess
parameter of MapBuffer.static int
GL_SAMPLES_PASSED
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.static int
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_SRC0_ALPHA
GL_SRC0_RGB
GL_SRC1_ALPHA
GL_SRC1_RGB
GL_SRC2_ALPHA
GL_SRC2_RGBNew token names.static int
GL_STATIC_COPY
GL_STATIC_DRAW
GL_STATIC_READ
GL_STREAM_COPY
GL_STREAM_DRAW
GL_STREAM_READAccepted by theusage
parameter of BufferData.static int
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
GL_VERTEX_ARRAY_BUFFER_BINDINGAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetVertexAttribiv.static int
GL_WEIGHT_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_WRITE_ONLY
Accepted by theaccess
parameter of MapBuffer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBeginQuery(int target, int id)
static void
glBindBuffer(int target, int buffer)
static void
glBufferData(int target, java.nio.ByteBuffer data, int usage)
static void
glBufferData(int target, double[] data, int usage)
static void
glBufferData(int target, java.nio.DoubleBuffer data, int usage)
static void
glBufferData(int target, float[] data, int usage)
static void
glBufferData(int target, java.nio.FloatBuffer data, int usage)
static void
glBufferData(int target, int[] data, int usage)
static void
glBufferData(int target, java.nio.IntBuffer data, int usage)
static void
glBufferData(int target, long size, int usage)
static void
glBufferData(int target, short[] data, int usage)
static void
glBufferData(int target, java.nio.ShortBuffer data, int usage)
static void
glBufferSubData(int target, long offset, java.nio.ByteBuffer data)
static void
glBufferSubData(int target, long offset, double[] data)
static void
glBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
static void
glBufferSubData(int target, long offset, float[] data)
static void
glBufferSubData(int target, long offset, java.nio.FloatBuffer data)
static void
glBufferSubData(int target, long offset, int[] data)
static void
glBufferSubData(int target, long offset, java.nio.IntBuffer data)
static void
glBufferSubData(int target, long offset, short[] data)
static void
glBufferSubData(int target, long offset, java.nio.ShortBuffer data)
static void
glDeleteBuffers(int buffer)
static void
glDeleteBuffers(int[] buffers)
static void
glDeleteBuffers(java.nio.IntBuffer buffers)
static void
glDeleteQueries(int id)
static void
glDeleteQueries(int[] ids)
static void
glDeleteQueries(java.nio.IntBuffer ids)
static void
glEndQuery(int target)
static int
glGenBuffers()
static void
glGenBuffers(int[] buffers)
static void
glGenBuffers(java.nio.IntBuffer buffers)
static int
glGenQueries()
static void
glGenQueries(int[] ids)
static void
glGenQueries(java.nio.IntBuffer ids)
static int
glGetBufferParameteri(int target, int pname)
static void
glGetBufferParameteriv(int target, int pname, int[] params)
static void
glGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)
static long
glGetBufferPointer(int target, int pname)
static void
glGetBufferPointerv(int target, int pname, org.lwjgl.PointerBuffer params)
static void
glGetBufferSubData(int target, long offset, java.nio.ByteBuffer data)
static void
glGetBufferSubData(int target, long offset, double[] data)
static void
glGetBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
static void
glGetBufferSubData(int target, long offset, float[] data)
static void
glGetBufferSubData(int target, long offset, java.nio.FloatBuffer data)
static void
glGetBufferSubData(int target, long offset, int[] data)
static void
glGetBufferSubData(int target, long offset, java.nio.IntBuffer data)
static void
glGetBufferSubData(int target, long offset, short[] data)
static void
glGetBufferSubData(int target, long offset, java.nio.ShortBuffer data)
static int
glGetQueryi(int target, int pname)
static void
glGetQueryiv(int target, int pname, int[] params)
static void
glGetQueryiv(int target, int pname, java.nio.IntBuffer params)
static int
glGetQueryObjecti(int id, int pname)
static void
glGetQueryObjectiv(int id, int pname, int[] params)
static void
glGetQueryObjectiv(int id, int pname, java.nio.IntBuffer params)
static int
glGetQueryObjectui(int id, int pname)
static void
glGetQueryObjectuiv(int id, int pname, int[] params)
static void
glGetQueryObjectuiv(int id, int pname, java.nio.IntBuffer params)
static boolean
glIsBuffer(int buffer)
static boolean
glIsQuery(int id)
static java.nio.ByteBuffer
glMapBuffer(int target, int access)
static java.nio.ByteBuffer
glMapBuffer(int target, int access, java.nio.ByteBuffer old_buffer)
static java.nio.ByteBuffer
glMapBuffer(int target, int access, long length, java.nio.ByteBuffer old_buffer)
static boolean
glUnmapBuffer(int target)
-
-
-
Field Detail
-
GL_FOG_COORD_SRC, GL_FOG_COORD, GL_CURRENT_FOG_COORD, GL_FOG_COORD_ARRAY_TYPE, GL_FOG_COORD_ARRAY_STRIDE, GL_FOG_COORD_ARRAY_POINTER, GL_FOG_COORD_ARRAY, GL_FOG_COORD_ARRAY_BUFFER_BINDING, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA
New token names.
-
GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.
-
GL_ARRAY_BUFFER_BINDING, GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_VERTEX_ARRAY_BUFFER_BINDING, GL_NORMAL_ARRAY_BUFFER_BINDING, GL_COLOR_ARRAY_BUFFER_BINDING, GL_INDEX_ARRAY_BUFFER_BINDING, GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING, GL_EDGE_FLAG_ARRAY_BUFFER_BINDING, GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING, GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING, GL_WEIGHT_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Accepted by thepname
parameter of GetVertexAttribiv.
-
GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, GL_DYNAMIC_COPY
Accepted by theusage
parameter of BufferData.
-
GL_READ_ONLY, GL_WRITE_ONLY, GL_READ_WRITE
Accepted by theaccess
parameter of MapBuffer.
-
GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_BUFFER_ACCESS, GL_BUFFER_MAPPED
Accepted by thepname
parameter of GetBufferParameteriv.
-
GL_BUFFER_MAP_POINTER
Accepted by thepname
parameter of GetBufferPointerv.
-
GL_SAMPLES_PASSED
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.
-
GL_QUERY_COUNTER_BITS, GL_CURRENT_QUERY
Accepted by thepname
parameter of GetQueryiv.
-
GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE
Accepted by thepname
parameter of GetQueryObjectiv and GetQueryObjectuiv.
-
-
Method Detail
-
glBindBuffer
public static void glBindBuffer(int target, int buffer)
Binds a named buffer object.- Parameters:
target
- the target to which the buffer object is bound. One of:buffer
- the name of a buffer object
-
glDeleteBuffers
public static void glDeleteBuffers(java.nio.IntBuffer buffers)
Deletes named buffer objects.- Parameters:
buffers
- an array of buffer objects to be deleted
-
glDeleteBuffers
public static void glDeleteBuffers(int buffer)
Deletes named buffer objects.
-
glGenBuffers
public static void glGenBuffers(java.nio.IntBuffer buffers)
Generates buffer object names.- Parameters:
buffers
- a buffer in which the generated buffer object names are stored
-
glGenBuffers
public static int glGenBuffers()
Generates buffer object names.
-
glIsBuffer
public static boolean glIsBuffer(int buffer)
Determines if a name corresponds to a buffer object.- Parameters:
buffer
- a value that may be the name of a buffer object
-
glBufferData
public static void glBufferData(int target, long size, int usage)
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:size
- the size in bytes of the buffer object's new data storeusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
-
glBufferData
public static void glBufferData(int target, java.nio.ByteBuffer data, int usage) public static void glBufferData(int target, java.nio.ShortBuffer data, int usage) public static void glBufferData(int target, java.nio.IntBuffer data, int usage) public static void glBufferData(int target, java.nio.FloatBuffer data, int usage) public static void glBufferData(int target, java.nio.DoubleBuffer data, int usage)
Creates and initializes a buffer object's data store.usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
The nature of access may be one of these:
- DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
- Parameters:
target
- the target buffer object. One of:data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
-
glBufferSubData
public static void glBufferSubData(int target, long offset, java.nio.ByteBuffer data) public static void glBufferSubData(int target, long offset, java.nio.ShortBuffer data) public static void glBufferSubData(int target, long offset, java.nio.IntBuffer data) public static void glBufferSubData(int target, long offset, java.nio.FloatBuffer data) public static void glBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
Updates a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, java.nio.ByteBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.ShortBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.IntBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.FloatBuffer data) public static void glGetBufferSubData(int target, long offset, java.nio.DoubleBuffer data)
Returns a subset of a buffer object's data store.- Parameters:
target
- the target buffer object. One of:offset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned
-
glMapBuffer
public static java.nio.ByteBuffer glMapBuffer(int target, int access) public static java.nio.ByteBuffer glMapBuffer(int target, int access, java.nio.ByteBuffer old_buffer) public static java.nio.ByteBuffer glMapBuffer(int target, int access, long length, java.nio.ByteBuffer old_buffer)
Maps a buffer object's data store.LWJGL note: This method comes in 3 flavors:
GL15.glMapBuffer(int, int)
- CallsGetBufferParameteriv
to retrieve the buffer size and a new ByteBuffer instance is always returned.GL15.glMapBuffer(int, int, ByteBuffer)
- CallsGetBufferParameteriv
to retrieve the buffer size and theold_buffer
parameter is reused if not null.GL15.glMapBuffer(int, int, long, ByteBuffer)
- The buffer size is explicitly specified and theold_buffer
parameter is reused if not null. This is the most efficient method.
- Parameters:
target
- the target buffer object being mapped. One of:access
- the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:READ_ONLY
WRITE_ONLY
READ_WRITE
-
glUnmapBuffer
public static boolean glUnmapBuffer(int target)
Relinquishes the mapping of a buffer object and invalidates the pointer to its data store.Returns TRUE unless data values in the buffer’s data store have become corrupted during the period that the buffer was mapped. Such corruption can be the result of a screen resolution change or other window system-dependent event that causes system heaps such as those for high-performance graphics memory to be discarded. GL implementations must guarantee that such corruption can occur only during the periods that a buffer’s data store is mapped. If such corruption has occurred, UnmapBuffer returns FALSE, and the contents of the buffer’s data store become undefined.
- Parameters:
target
- the target buffer object being unmapped. One of:
-
glGetBufferParameteriv
public static void glGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)
Returns the value of a buffer object parameter.- Parameters:
target
- the target buffer object. One of:pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
params
- the requested parameter
-
glGetBufferParameteri
public static int glGetBufferParameteri(int target, int pname)
Returns the value of a buffer object parameter.- Parameters:
target
- the target buffer object. One of:pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
-
glGetBufferPointerv
public static void glGetBufferPointerv(int target, int pname, org.lwjgl.PointerBuffer params)
Returns the pointer to a mapped buffer object's data store.- Parameters:
target
- the target buffer object. One of:pname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
params
- the pointer value specified bypname
-
glGetBufferPointer
public static long glGetBufferPointer(int target, int pname)
Returns the pointer to a mapped buffer object's data store.- Parameters:
target
- the target buffer object. One of:pname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
-
glGenQueries
public static void glGenQueries(java.nio.IntBuffer ids)
Generates query object names.- Parameters:
ids
- a buffer in which the generated query object names are stored
-
glGenQueries
public static int glGenQueries()
Generates query object names.
-
glDeleteQueries
public static void glDeleteQueries(java.nio.IntBuffer ids)
Deletes named query objects.- Parameters:
ids
- an array of query objects to be deleted
-
glDeleteQueries
public static void glDeleteQueries(int id)
Deletes named query objects.
-
glIsQuery
public static boolean glIsQuery(int id)
Determine if a name corresponds to a query object.- Parameters:
id
- a value that may be the name of a query object
-
glBeginQuery
public static void glBeginQuery(int target, int id)
Creates a query object and makes it active.- Parameters:
target
- the target type of query object established. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
id
- the name of a query object
-
glEndQuery
public static void glEndQuery(int target)
Marks the end of the sequence of commands to be tracked for the active query specified bytarget
.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
-
glGetQueryiv
public static void glGetQueryiv(int target, int pname, java.nio.IntBuffer params)
Returns parameters of a query object target.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
pname
- the symbolic name of a query object target parameter. One of:QUERY_COUNTER_BITS
CURRENT_QUERY
params
- the requested data
-
glGetQueryi
public static int glGetQueryi(int target, int pname)
Returns parameters of a query object target.- Parameters:
target
- the query object target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
pname
- the symbolic name of a query object target parameter. One of:QUERY_COUNTER_BITS
CURRENT_QUERY
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, java.nio.IntBuffer params)
Returns the integer value of a query object parameter.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data
-
glGetQueryObjecti
public static int glGetQueryObjecti(int id, int pname)
Returns the integer value of a query object parameter.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, java.nio.IntBuffer params)
Unsigned version ofGetQueryObjectiv
.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
params
- the requested data
-
glGetQueryObjectui
public static int glGetQueryObjectui(int id, int pname)
Unsigned version ofGetQueryObjectiv
.- Parameters:
id
- the name of a query objectpname
- the symbolic name of a query object parameter. One of:QUERY_RESULT
QUERY_RESULT_AVAILABLE
-
glDeleteBuffers
public static void glDeleteBuffers(int[] buffers)
Array version of:DeleteBuffers
-
glGenBuffers
public static void glGenBuffers(int[] buffers)
Array version of:GenBuffers
-
glBufferData
public static void glBufferData(int target, short[] data, int usage) public static void glBufferData(int target, int[] data, int usage) public static void glBufferData(int target, float[] data, int usage) public static void glBufferData(int target, double[] data, int usage)
Array version of:BufferData
-
glBufferSubData
public static void glBufferSubData(int target, long offset, short[] data) public static void glBufferSubData(int target, long offset, int[] data) public static void glBufferSubData(int target, long offset, float[] data) public static void glBufferSubData(int target, long offset, double[] data)
Array version of:BufferSubData
-
glGetBufferSubData
public static void glGetBufferSubData(int target, long offset, short[] data) public static void glGetBufferSubData(int target, long offset, int[] data) public static void glGetBufferSubData(int target, long offset, float[] data) public static void glGetBufferSubData(int target, long offset, double[] data)
Array version of:GetBufferSubData
-
glGetBufferParameteriv
public static void glGetBufferParameteriv(int target, int pname, int[] params)
Array version of:GetBufferParameteriv
-
glGenQueries
public static void glGenQueries(int[] ids)
Array version of:GenQueries
-
glDeleteQueries
public static void glDeleteQueries(int[] ids)
Array version of:DeleteQueries
-
glGetQueryiv
public static void glGetQueryiv(int target, int pname, int[] params)
Array version of:GetQueryiv
-
glGetQueryObjectiv
public static void glGetQueryObjectiv(int id, int pname, int[] params)
Array version of:GetQueryObjectiv
-
glGetQueryObjectuiv
public static void glGetQueryObjectuiv(int id, int pname, int[] params)
Array version of:GetQueryObjectuiv
-
-