Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import java.nio.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.JNI.*;
import static org.lwjgl.system.MemoryStack.*;
import static org.lwjgl.system.MemoryUtil.*;
/**
* Native bindings to the ARB_robustness extension.
*
*
Several recent trends in how OpenGL integrates into modern computer systems have created new requirements for robustness and security for OpenGL
* rendering contexts.
*
*
Additionally GPU architectures now support hardware fault detection; for example, video memory supporting ECC (error correcting codes) and error
* detection. OpenGL contexts should be capable of recovering from hardware faults such as uncorrectable memory errors. Along with recovery from such
* hardware faults, the recovery mechanism can also allow recovery from video memory access exceptions and system software failures. System software
* failures can be due to device changes or driver failures.
*
*
Demands for increased software robustness and concerns about malware exploiting buffer overflows have lead API designers to provide additional "safe"
* APIs that bound the amount of data returned by an API query. For example, the safer "snprintf" or "_snprintf" routines are prefered over "sprintf".
*
*
The OpenGL API has many such robustness perils. OpenGL queries return (write) some number of bytes to a buffer indicated by a pointer parameter. The
* exact number of bytes written by existing OpenGL queries is not expressed directly by any specific parameter; instead the number of bytes returned is a
* complex function of one or more query arguments, sometimes context state such as pixel store modes or the active texture selector, and the current state
* of an object (such as a texture level's number of total texels). By the standards of modern API design, such queries are not "safe". Making these
* queries safer involves introducing a new query API with an additional parameter that specifies the number of bytes in the buffer and never writing bytes
* beyond that limit.
*
*
Multi-threaded use of OpenGL contexts in a "share group" allow sharing of objects such as textures and programs. Such sharing in conjunction with
* concurrent OpenGL commands stream execution by two or more contexts introduces hazards whereby one context can change objects in ways that can cause
* buffer overflows for another context's OpenGL queries.
*
*
The original {@link ARBVertexBufferObject ARB_vertex_buffer_object} extension includes an issue that explicitly states program termination is allowed when out-of-bounds
* vertex buffer object fetches occur. Modern GPUs capable of DirectX 10 enforce the well-defined behavior of always returning zero values for indices or
* non-fixed components in this case. Older GPUs may require extra checks to enforce well-defined (and termination free) behavior, but this expense is
* warranted when processing potentially untrusted content.
*
*
The intent of this extension is to address some specific robustness goals:
*
*
*
For all existing OpenGL queries, provide additional "safe" APIs that limit data written to user pointers to a buffer size in bytes that is an
* explicit additional parameter of the query.
*
Provide a mechanism for an OpenGL application to learn about graphics resets that affect the context. When a graphics reset occurs, the OpenGL
* context becomes unusable and the application must create a new context to continue operation. Detecting a graphics reset happens through an
* inexpensive query.
*
Provide an enable to guarantee that out-of-bounds buffer object accesses by the GPU will have deterministic behavior and preclude application
* instability or termination due to an incorrect buffer access. Such accesses include vertex buffer fetches of attributes and indices, and indexed
* reads of uniforms or parameters from buffers.
*
*
*
In one anticipated usage model, WebGL contexts may make use of these robust features to grant greater stability when using untrusted code. WebGL
* contexts cannot call OpenGL commands directly but rather must route all OpenGL API calls through the web browser. It is then the web browser that
* configures the context, using the commands in this extension, to enforce safe behavior. In this scenario, the WebGL content cannot specify or change the
* use of this extension's features itself; the web browser enforces this policy.
*
*
There are other well-known robustness issues with the OpenGL API which this extension does not address. For example, selector-based OpenGL commands are
* a well-known source of programming errors. Code to manipulate texture state may assume the active texture selector is set appropriately when an
* intervening function call obscures a change to the active texture state resulting in incorrectly updated or queried state. The
* EXT_direct_state_access extension introduces selector-free OpenGL commands and queries to address that particular issue so this
* extension does not.
*
*
The intent of this extension is NOT to deprecate any existing API and thereby introduce compatibility issues and coding burdens on existing code, but
* rather to provide new APIs to ensure a level of robustness commensurate with the expectations of modern applications of OpenGL.
*/
public class ARBRobustness {
/** Returned by GetGraphicsResetStatusARB. */
public static final int
GL_GUILTY_CONTEXT_RESET_ARB = 0x8253,
GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254,
GL_UNKNOWN_CONTEXT_RESET_ARB = 0x8255;
/** Accepted by the {@code value} parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev. */
public static final int GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256;
/** Returned by GetIntegerv and related simple queries when {@code value} is RESET_NOTIFICATION_STRATEGY_ARB. */
public static final int
GL_LOSE_CONTEXT_ON_RESET_ARB = 0x8252,
GL_NO_RESET_NOTIFICATION_ARB = 0x8261;
/** Returned by GetIntegerv when {@code pname} is CONTEXT_FLAGS. */
public static final int GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x4;
static { GL.initialize(); }
protected ARBRobustness() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps, java.util.Set ext) {
return checkFunctions(
caps.glGetGraphicsResetStatusARB, caps.glGetMapdv != NULL ? caps.glGetnMapdvARB : -1L, caps.glGetMapfv != NULL ? caps.glGetnMapfvARB : -1L,
caps.glGetMapiv != NULL ? caps.glGetnMapivARB : -1L, caps.glGetPixelMapfv != NULL ? caps.glGetnPixelMapfvARB : -1L,
caps.glGetPixelMapuiv != NULL ? caps.glGetnPixelMapuivARB : -1L, caps.glGetPixelMapusv != NULL ? caps.glGetnPixelMapusvARB : -1L,
caps.glGetPolygonStipple != NULL ? caps.glGetnPolygonStippleARB : -1L, caps.glGetnTexImageARB, caps.glReadnPixelsARB,
ext.contains("GL_ARB_imaging") && caps.glGetColorTable != NULL ? caps.glGetnColorTableARB : -1L,
ext.contains("GL_ARB_imaging") && caps.glGetConvolutionFilter != NULL ? caps.glGetnConvolutionFilterARB : -1L,
ext.contains("GL_ARB_imaging") && caps.glGetSeparableFilter != NULL ? caps.glGetnSeparableFilterARB : -1L,
ext.contains("GL_ARB_imaging") && caps.glGetHistogram != NULL ? caps.glGetnHistogramARB : -1L,
ext.contains("GL_ARB_imaging") && caps.glGetMinmax != NULL ? caps.glGetnMinmaxARB : -1L,
ext.contains("OpenGL13") ? caps.glGetnCompressedTexImageARB : -1L, ext.contains("OpenGL20") ? caps.glGetnUniformfvARB : -1L,
ext.contains("OpenGL20") ? caps.glGetnUniformivARB : -1L, ext.contains("OpenGL30") ? caps.glGetnUniformuivARB : -1L,
ext.contains("OpenGL40") ? caps.glGetnUniformdvARB : -1L
);
}
// --- [ glGetGraphicsResetStatusARB ] ---
/**
* The symbolic constant returned indicates if the GL context has been in a reset state at any point since the last call to {@code GetGraphicsResetStatusARB}.
* {@link GL11#GL_NO_ERROR NO_ERROR} indicates that the GL context has not been in a reset state since the last call. {@link #GL_GUILTY_CONTEXT_RESET_ARB GUILTY_CONTEXT_RESET_ARB} indicates that a reset has
* been detected that is attributable to the current GL context. {@link #GL_INNOCENT_CONTEXT_RESET_ARB INNOCENT_CONTEXT_RESET_ARB} indicates a reset has been detected that is not attributable
* to the current GL context. {@link #GL_UNKNOWN_CONTEXT_RESET_ARB UNKNOWN_CONTEXT_RESET_ARB} indicates a detected graphics reset whose cause is unknown.
*
*
If a reset status other than NO_ERROR is returned and subsequent calls return NO_ERROR, the context reset was encountered and completed. If a reset
* status is repeatedly returned, the context may be in the process of resetting.
*
*
Reset notification behavior is determined at context creation time, and may be queried by calling {@link GL11#glGetIntegerv GetIntegerv} with the symbolic constant
* {@link #GL_RESET_NOTIFICATION_STRATEGY_ARB RESET_NOTIFICATION_STRATEGY_ARB}.
*
*
If the reset notification behavior is {@link #GL_NO_RESET_NOTIFICATION_ARB NO_RESET_NOTIFICATION_ARB}, then the implementation will never deliver notification of reset events, and
* {@code GetGraphicsResetStatusARB} will always return NO_ERROR.
*
*
If the behavior is {@link #GL_LOSE_CONTEXT_ON_RESET_ARB LOSE_CONTEXT_ON_RESET_ARB}, a graphics reset will result in the loss of all context state, requiring the recreation of all associated
* objects. In this case {@code GetGraphicsResetStatusARB}. may return any of the values described above.
*
*
If a graphics reset notification occurs in a context, a notification must also occur in all other contexts which share objects with that context.
*/
@NativeType("GLenum")
public static native int glGetGraphicsResetStatusARB();
// --- [ glGetnMapdvARB ] ---
/**
* Unsafe version of: {@link #glGetnMapdvARB GetnMapdvARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnMapdvARB(int target, int query, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetMapdv GetMapdv}
*
* @param target the evaluator map
* @param query the information to query
* @param data a buffer in which to place the returned data
*/
public static void glGetnMapdvARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLdouble *") DoubleBuffer data) {
nglGetnMapdvARB(target, query, data.remaining(), memAddress(data));
}
/**
* Robust version of {@link GL11#glGetMapdv GetMapdv}
*
* @param target the evaluator map
* @param query the information to query
*/
@NativeType("void")
public static double glGetnMapdARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
DoubleBuffer data = stack.callocDouble(1);
nglGetnMapdvARB(target, query, 1, memAddress(data));
return data.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnMapfvARB ] ---
/**
* Unsafe version of: {@link #glGetnMapfvARB GetnMapfvARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnMapfvARB(int target, int query, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetMapfv GetMapfv}
*
* @param target the evaluator map
* @param query the information to query
* @param data a buffer in which to place the returned data
*/
public static void glGetnMapfvARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLfloat *") FloatBuffer data) {
nglGetnMapfvARB(target, query, data.remaining(), memAddress(data));
}
/**
* Robust version of {@link GL11#glGetMapfv GetMapfv}
*
* @param target the evaluator map
* @param query the information to query
*/
@NativeType("void")
public static float glGetnMapfARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
FloatBuffer data = stack.callocFloat(1);
nglGetnMapfvARB(target, query, 1, memAddress(data));
return data.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnMapivARB ] ---
/**
* Unsafe version of: {@link #glGetnMapivARB GetnMapivARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnMapivARB(int target, int query, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetMapiv GetMapiv}
*
* @param target the evaluator target. One of:
* @param data a buffer in which to place the returned data
*/
public static void glGetnMapivARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLint *") IntBuffer data) {
nglGetnMapivARB(target, query, data.remaining(), memAddress(data));
}
/**
* Robust version of {@link GL11#glGetMapiv GetMapiv}
*
* @param target the evaluator target. One of:
*/
@NativeType("void")
public static int glGetnMapiARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
IntBuffer data = stack.callocInt(1);
nglGetnMapivARB(target, query, 1, memAddress(data));
return data.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnPixelMapfvARB ] ---
/**
* Unsafe version of: {@link #glGetnPixelMapfvARB GetnPixelMapfvARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnPixelMapfvARB(int map, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetPixelMapfv GetPixelMapfv}
*
* @param map the pixel map parameter to query. One of:
{@link GL11#GL_PIXEL_MAP_I_TO_I PIXEL_MAP_I_TO_I}
{@link GL11#GL_PIXEL_MAP_S_TO_S PIXEL_MAP_S_TO_S}
{@link GL11#GL_PIXEL_MAP_I_TO_R PIXEL_MAP_I_TO_R}
{@link GL11#GL_PIXEL_MAP_I_TO_G PIXEL_MAP_I_TO_G}
{@link GL11#GL_PIXEL_MAP_I_TO_B PIXEL_MAP_I_TO_B}
{@link GL11#GL_PIXEL_MAP_I_TO_A PIXEL_MAP_I_TO_A}
{@link GL11#GL_PIXEL_MAP_R_TO_R PIXEL_MAP_R_TO_R}
{@link GL11#GL_PIXEL_MAP_G_TO_G PIXEL_MAP_G_TO_G}
{@link GL11#GL_PIXEL_MAP_B_TO_B PIXEL_MAP_B_TO_B}
{@link GL11#GL_PIXEL_MAP_A_TO_A PIXEL_MAP_A_TO_A}
* @param data a buffer in which to place the returned data
*/
public static void glGetnPixelMapfvARB(@NativeType("GLenum") int map, @NativeType("GLfloat *") FloatBuffer data) {
nglGetnPixelMapfvARB(map, data.remaining(), memAddress(data));
}
// --- [ glGetnPixelMapuivARB ] ---
/**
* Unsafe version of: {@link #glGetnPixelMapuivARB GetnPixelMapuivARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnPixelMapuivARB(int map, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetPixelMapuiv GetPixelMapuiv}
*
* @param map the pixel map parameter to query
* @param data a buffer in which to place the returned data
*/
public static void glGetnPixelMapuivARB(@NativeType("GLenum") int map, @NativeType("GLuint *") IntBuffer data) {
nglGetnPixelMapuivARB(map, data.remaining(), memAddress(data));
}
// --- [ glGetnPixelMapusvARB ] ---
/**
* Unsafe version of: {@link #glGetnPixelMapusvARB GetnPixelMapusvARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglGetnPixelMapusvARB(int map, int bufSize, long data);
/**
* Robust version of {@link GL11#glGetPixelMapusv GetPixelMapusv}
*
* @param map the pixel map parameter to query
* @param data a buffer in which to place the returned data
*/
public static void glGetnPixelMapusvARB(@NativeType("GLenum") int map, @NativeType("GLushort *") ShortBuffer data) {
nglGetnPixelMapusvARB(map, data.remaining(), memAddress(data));
}
// --- [ glGetnPolygonStippleARB ] ---
/**
* Unsafe version of: {@link #glGetnPolygonStippleARB GetnPolygonStippleARB}
*
* @param bufSize the maximum number of bytes to write into {@code pattern}
*/
public static native void nglGetnPolygonStippleARB(int bufSize, long pattern);
/**
* Robust version of {@link GL11#glGetPolygonStipple GetPolygonStipple}
*
* @param bufSize the maximum number of bytes to write into {@code pattern}
* @param pattern a buffer in which to place the returned pattern
*/
public static void glGetnPolygonStippleARB(@NativeType("GLsizei") int bufSize, @NativeType("GLubyte *") long pattern) {
nglGetnPolygonStippleARB(bufSize, pattern);
}
/**
* Robust version of {@link GL11#glGetPolygonStipple GetPolygonStipple}
*
* @param pattern a buffer in which to place the returned pattern
*/
public static void glGetnPolygonStippleARB(@NativeType("GLubyte *") ByteBuffer pattern) {
nglGetnPolygonStippleARB(pattern.remaining(), memAddress(pattern));
}
// --- [ glGetnTexImageARB ] ---
/**
* Unsafe version of: {@link #glGetnTexImageARB GetnTexImageARB}
*
* @param bufSize the maximum number of bytes to write into {@code img}
*/
public static native void nglGetnTexImageARB(int tex, int level, int format, int type, int bufSize, long img);
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param bufSize the maximum number of bytes to write into {@code img}
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long img) {
nglGetnTexImageARB(tex, level, format, type, bufSize, img);
}
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer img) {
nglGetnTexImageARB(tex, level, format, type, img.remaining(), memAddress(img));
}
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ShortBuffer img) {
nglGetnTexImageARB(tex, level, format, type, img.remaining() << 1, memAddress(img));
}
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") IntBuffer img) {
nglGetnTexImageARB(tex, level, format, type, img.remaining() << 2, memAddress(img));
}
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") FloatBuffer img) {
nglGetnTexImageARB(tex, level, format, type, img.remaining() << 2, memAddress(img));
}
/**
* Robust version of {@link GL11#glGetTexImage GetTexImage}
*
* @param tex the texture (or texture face) to be obtained. One of:
* @param img a buffer in which to place the returned data
*/
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") DoubleBuffer img) {
nglGetnTexImageARB(tex, level, format, type, img.remaining() << 3, memAddress(img));
}
// --- [ glReadnPixelsARB ] ---
/**
* Unsafe version of: {@link #glReadnPixelsARB ReadnPixelsARB}
*
* @param bufSize the maximum number of bytes to write into {@code data}
*/
public static native void nglReadnPixelsARB(int x, int y, int width, int height, int format, int type, int bufSize, long data);
/**
* Robust version of {@link GL11#glReadPixels ReadPixels}
*
* @param x the left pixel coordinate
* @param y the lower pixel coordinate
* @param width the number of pixels to read in the x-dimension
* @param height the number of pixels to read in the y-dimension
* @param format the pixel format. One of:
* @param bufSize the maximum number of bytes to write into {@code data}
* @param data a buffer in which to place the returned data
*/
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long data) {
nglReadnPixelsARB(x, y, width, height, format, type, bufSize, data);
}
/**
* Robust version of {@link GL11#glReadPixels ReadPixels}
*
* @param x the left pixel coordinate
* @param y the lower pixel coordinate
* @param width the number of pixels to read in the x-dimension
* @param height the number of pixels to read in the y-dimension
* @param format the pixel format. One of:
* @param data a buffer in which to place the returned data
*/
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer data) {
nglReadnPixelsARB(x, y, width, height, format, type, data.remaining(), memAddress(data));
}
/**
* Robust version of {@link GL11#glReadPixels ReadPixels}
*
* @param x the left pixel coordinate
* @param y the lower pixel coordinate
* @param width the number of pixels to read in the x-dimension
* @param height the number of pixels to read in the y-dimension
* @param format the pixel format. One of:
* @param data a buffer in which to place the returned data
*/
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ShortBuffer data) {
nglReadnPixelsARB(x, y, width, height, format, type, data.remaining() << 1, memAddress(data));
}
/**
* Robust version of {@link GL11#glReadPixels ReadPixels}
*
* @param x the left pixel coordinate
* @param y the lower pixel coordinate
* @param width the number of pixels to read in the x-dimension
* @param height the number of pixels to read in the y-dimension
* @param format the pixel format. One of:
* @param data a buffer in which to place the returned data
*/
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") IntBuffer data) {
nglReadnPixelsARB(x, y, width, height, format, type, data.remaining() << 2, memAddress(data));
}
/**
* Robust version of {@link GL11#glReadPixels ReadPixels}
*
* @param x the left pixel coordinate
* @param y the lower pixel coordinate
* @param width the number of pixels to read in the x-dimension
* @param height the number of pixels to read in the y-dimension
* @param format the pixel format. One of:
* @param data a buffer in which to place the returned data
*/
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") FloatBuffer data) {
nglReadnPixelsARB(x, y, width, height, format, type, data.remaining() << 2, memAddress(data));
}
// --- [ glGetnColorTableARB ] ---
/**
* Unsafe version of: {@link #glGetnColorTableARB GetnColorTableARB}
*
* @param bufSize the maximum number of bytes to write into {@code table}
*/
public static native void nglGetnColorTableARB(int target, int format, int type, int bufSize, long table);
/**
* Robust version of {@link ARBImaging#glGetColorTable GetColorTable}
*
* @param target the color table target. One of:
* @param bufSize the maximum number of bytes to write into {@code table}
* @param table a buffer in which to place the returned data
*/
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long table) {
nglGetnColorTableARB(target, format, type, bufSize, table);
}
/**
* Robust version of {@link ARBImaging#glGetColorTable GetColorTable}
*
* @param target the color table target. One of:
* @param table a buffer in which to place the returned data
*/
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer table) {
nglGetnColorTableARB(target, format, type, table.remaining(), memAddress(table));
}
/**
* Robust version of {@link ARBImaging#glGetColorTable GetColorTable}
*
* @param target the color table target. One of:
* @param table a buffer in which to place the returned data
*/
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ShortBuffer table) {
nglGetnColorTableARB(target, format, type, table.remaining() << 1, memAddress(table));
}
/**
* Robust version of {@link ARBImaging#glGetColorTable GetColorTable}
*
* @param target the color table target. One of:
* @param table a buffer in which to place the returned data
*/
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") IntBuffer table) {
nglGetnColorTableARB(target, format, type, table.remaining() << 2, memAddress(table));
}
/**
* Robust version of {@link ARBImaging#glGetColorTable GetColorTable}
*
* @param target the color table target. One of:
* @param table a buffer in which to place the returned data
*/
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") FloatBuffer table) {
nglGetnColorTableARB(target, format, type, table.remaining() << 2, memAddress(table));
}
// --- [ glGetnConvolutionFilterARB ] ---
/**
* Unsafe version of: {@link #glGetnConvolutionFilterARB GetnConvolutionFilterARB}
*
* @param bufSize the maximum number of bytes to write into {@code image}
*/
public static native void nglGetnConvolutionFilterARB(int target, int format, int type, int bufSize, long image);
/**
* Robust version of {@link ARBImaging#glGetConvolutionFilter GetConvolutionFilter}
*
* @param target the convolution target. One of:
* @param bufSize the maximum number of bytes to write into {@code image}
* @param image a buffer in which to place the returned data
*/
public static void glGetnConvolutionFilterARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long image) {
nglGetnConvolutionFilterARB(target, format, type, bufSize, image);
}
/**
* Robust version of {@link ARBImaging#glGetConvolutionFilter GetConvolutionFilter}
*
* @param target the convolution target. One of:
* @param image a buffer in which to place the returned data
*/
public static void glGetnConvolutionFilterARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer image) {
nglGetnConvolutionFilterARB(target, format, type, image.remaining(), memAddress(image));
}
// --- [ glGetnSeparableFilterARB ] ---
/**
* Unsafe version of: {@link #glGetnSeparableFilterARB GetnSeparableFilterARB}
*
* @param rowBufSize the maximum number of bytes to write into {@code row}
* @param columnBufSize the maximum number of bytes to write into {@code column}
*/
public static native void nglGetnSeparableFilterARB(int target, int format, int type, int rowBufSize, long row, int columnBufSize, long column, long span);
/**
* Robust version of {@link ARBImaging#glGetSeparableFilter GetSeparableFilter}
*
* @param target the filter target. Must be:
* @param rowBufSize the maximum number of bytes to write into {@code row}
* @param row a buffer in which to return the filter row
* @param columnBufSize the maximum number of bytes to write into {@code column}
* @param column a buffer in which to return the filter column
* @param span
*/
public static void glGetnSeparableFilterARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int rowBufSize, @NativeType("void *") long row, @NativeType("GLsizei") int columnBufSize, @NativeType("void *") long column, @NativeType("void *") ByteBuffer span) {
nglGetnSeparableFilterARB(target, format, type, rowBufSize, row, columnBufSize, column, memAddressSafe(span));
}
/**
* Robust version of {@link ARBImaging#glGetSeparableFilter GetSeparableFilter}
*
* @param target the filter target. Must be:
* @param row a buffer in which to return the filter row
* @param column a buffer in which to return the filter column
* @param span
*/
public static void glGetnSeparableFilterARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer row, @NativeType("void *") ByteBuffer column, @NativeType("void *") ByteBuffer span) {
nglGetnSeparableFilterARB(target, format, type, row.remaining(), memAddress(row), column.remaining(), memAddress(column), memAddressSafe(span));
}
// --- [ glGetnHistogramARB ] ---
/**
* Unsafe version of: {@link #glGetnHistogramARB GetnHistogramARB}
*
* @param bufSize the maximum number of bytes to write into {@code values}
*/
public static native void nglGetnHistogramARB(int target, boolean reset, int format, int type, int bufSize, long values);
/**
* Robust version of {@link ARBImaging#glGetHistogram GetHistogram}
*
* @param target the histogram target. Must be:
{@link ARBImaging#GL_HISTOGRAM HISTOGRAM}
* @param reset if {@link GL11#GL_TRUE TRUE}, then all counters of all elements of the histogram are reset to zero. Counters are reset whether returned or not.
* @param format the pixel data format. One of:
* @param bufSize the maximum number of bytes to write into {@code values}
* @param values a buffer in which to place the returned data
*/
public static void glGetnHistogramARB(@NativeType("GLenum") int target, @NativeType("GLboolean") boolean reset, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long values) {
nglGetnHistogramARB(target, reset, format, type, bufSize, values);
}
/**
* Robust version of {@link ARBImaging#glGetHistogram GetHistogram}
*
* @param target the histogram target. Must be:
{@link ARBImaging#GL_HISTOGRAM HISTOGRAM}
* @param reset if {@link GL11#GL_TRUE TRUE}, then all counters of all elements of the histogram are reset to zero. Counters are reset whether returned or not.
* @param format the pixel data format. One of:
* @param values a buffer in which to place the returned data
*/
public static void glGetnHistogramARB(@NativeType("GLenum") int target, @NativeType("GLboolean") boolean reset, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer values) {
nglGetnHistogramARB(target, reset, format, type, values.remaining(), memAddress(values));
}
// --- [ glGetnMinmaxARB ] ---
/**
* Unsafe version of: {@link #glGetnMinmaxARB GetnMinmaxARB}
*
* @param bufSize the maximum number of bytes to write into {@code values}
*/
public static native void nglGetnMinmaxARB(int target, boolean reset, int format, int type, int bufSize, long values);
/**
* Robust version of {@link ARBImaging#glGetMinmax GetMinmax}
*
* @param target the minmax target. Must be:
{@link ARBImaging#GL_MINMAX MINMAX}
* @param reset If {@link GL11#GL_TRUE TRUE}, then each minimum value is reset to the maximum representable value, and each maximum value is reset to the minimum
* representable value. All values are reset, whether returned or not.
* @param format the pixel data format. One of:
* @param bufSize the maximum number of bytes to write into {@code values}
* @param values a buffer in which to place the returned data
*/
public static void glGetnMinmaxARB(@NativeType("GLenum") int target, @NativeType("GLboolean") boolean reset, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("GLsizei") int bufSize, @NativeType("void *") long values) {
nglGetnMinmaxARB(target, reset, format, type, bufSize, values);
}
/**
* Robust version of {@link ARBImaging#glGetMinmax GetMinmax}
*
* @param target the minmax target. Must be:
{@link ARBImaging#GL_MINMAX MINMAX}
* @param reset If {@link GL11#GL_TRUE TRUE}, then each minimum value is reset to the maximum representable value, and each maximum value is reset to the minimum
* representable value. All values are reset, whether returned or not.
* @param format the pixel data format. One of:
* @param values a buffer in which to place the returned data
*/
public static void glGetnMinmaxARB(@NativeType("GLenum") int target, @NativeType("GLboolean") boolean reset, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") ByteBuffer values) {
nglGetnMinmaxARB(target, reset, format, type, values.remaining(), memAddress(values));
}
// --- [ glGetnCompressedTexImageARB ] ---
/**
* Unsafe version of: {@link #glGetnCompressedTexImageARB GetnCompressedTexImageARB}
*
* @param bufSize the maximum number of bytes to write into {@code img}
*/
public static native void nglGetnCompressedTexImageARB(int target, int level, int bufSize, long img);
/**
* Robust version of {@link GL13#glGetCompressedTexImage GetCompressedTexImage}
*
* @param target the target texture. One of:
* @param level the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
* @param bufSize the maximum number of bytes to write into {@code img}
* @param img a buffer in which to place the returned data
*/
public static void glGetnCompressedTexImageARB(@NativeType("GLenum") int target, @NativeType("GLint") int level, @NativeType("GLsizei") int bufSize, @NativeType("void *") long img) {
nglGetnCompressedTexImageARB(target, level, bufSize, img);
}
/**
* Robust version of {@link GL13#glGetCompressedTexImage GetCompressedTexImage}
*
* @param target the target texture. One of:
* @param level the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
* @param img a buffer in which to place the returned data
*/
public static void glGetnCompressedTexImageARB(@NativeType("GLenum") int target, @NativeType("GLint") int level, @NativeType("void *") ByteBuffer img) {
if (CHECKS) {
if (DEBUG) {
check(img, GL11.glGetTexLevelParameteri(target, level, GL13.GL_TEXTURE_COMPRESSED_IMAGE_SIZE));
}
}
nglGetnCompressedTexImageARB(target, level, img.remaining(), memAddress(img));
}
// --- [ glGetnUniformfvARB ] ---
/**
* Unsafe version of: {@link #glGetnUniformfvARB GetnUniformfvARB}
*
* @param bufSize the maximum number of bytes to write into {@code params}
*/
public static native void nglGetnUniformfvARB(int program, int location, int bufSize, long params);
/**
* Robust version of {@link GL20#glGetUniformfv GetUniformfv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
* @param params a buffer in which to place the returned data
*/
public static void glGetnUniformfvARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLfloat *") FloatBuffer params) {
nglGetnUniformfvARB(program, location, params.remaining(), memAddress(params));
}
/**
* Robust version of {@link GL20#glGetUniformfv GetUniformfv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
*/
@NativeType("void")
public static float glGetnUniformfARB(@NativeType("GLuint") int program, @NativeType("GLint") int location) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
FloatBuffer params = stack.callocFloat(1);
nglGetnUniformfvARB(program, location, 1, memAddress(params));
return params.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnUniformivARB ] ---
/**
* Unsafe version of: {@link #glGetnUniformivARB GetnUniformivARB}
*
* @param bufSize the maximum number of bytes to write into {@code params}
*/
public static native void nglGetnUniformivARB(int program, int location, int bufSize, long params);
/**
* Robust version of {@link GL20#glGetUniformiv GetUniformiv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
* @param params a buffer in which to place the returned data
*/
public static void glGetnUniformivARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLint *") IntBuffer params) {
nglGetnUniformivARB(program, location, params.remaining(), memAddress(params));
}
/**
* Robust version of {@link GL20#glGetUniformiv GetUniformiv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
*/
@NativeType("void")
public static int glGetnUniformiARB(@NativeType("GLuint") int program, @NativeType("GLint") int location) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
IntBuffer params = stack.callocInt(1);
nglGetnUniformivARB(program, location, 1, memAddress(params));
return params.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnUniformuivARB ] ---
/**
* Unsafe version of: {@link #glGetnUniformuivARB GetnUniformuivARB}
*
* @param bufSize the maximum number of bytes to write into {@code params}
*/
public static native void nglGetnUniformuivARB(int program, int location, int bufSize, long params);
/**
* Robust version of {@link GL30#glGetUniformuiv GetUniformuiv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
* @param params a buffer in which to place the returned data
*/
public static void glGetnUniformuivARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLuint *") IntBuffer params) {
nglGetnUniformuivARB(program, location, params.remaining(), memAddress(params));
}
/**
* Robust version of {@link GL30#glGetUniformuiv GetUniformuiv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
*/
@NativeType("void")
public static int glGetnUniformuiARB(@NativeType("GLuint") int program, @NativeType("GLint") int location) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
IntBuffer params = stack.callocInt(1);
nglGetnUniformuivARB(program, location, 1, memAddress(params));
return params.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
// --- [ glGetnUniformdvARB ] ---
/**
* Unsafe version of: {@link #glGetnUniformdvARB GetnUniformdvARB}
*
* @param bufSize the maximum number of bytes to write into {@code params}
*/
public static native void nglGetnUniformdvARB(int program, int location, int bufSize, long params);
/**
* Robust version of {@link GL40#glGetUniformdv GetUniformdv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
* @param params a buffer in which to place the returned data
*/
public static void glGetnUniformdvARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLdouble *") DoubleBuffer params) {
nglGetnUniformdvARB(program, location, params.remaining(), memAddress(params));
}
/**
* Robust version of {@link GL40#glGetUniformdv GetUniformdv}
*
* @param program the program object to be queried
* @param location the location of the uniform variable to be queried
*/
@NativeType("void")
public static double glGetnUniformdARB(@NativeType("GLuint") int program, @NativeType("GLint") int location) {
MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
try {
DoubleBuffer params = stack.callocDouble(1);
nglGetnUniformdvARB(program, location, 1, memAddress(params));
return params.get(0);
} finally {
stack.setPointer(stackPointer);
}
}
/** Array version of: {@link #glGetnMapdvARB GetnMapdvARB} */
public static void glGetnMapdvARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLdouble *") double[] data) {
long __functionAddress = GL.getICD().glGetnMapdvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, query, data.length, data);
}
/** Array version of: {@link #glGetnMapfvARB GetnMapfvARB} */
public static void glGetnMapfvARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLfloat *") float[] data) {
long __functionAddress = GL.getICD().glGetnMapfvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, query, data.length, data);
}
/** Array version of: {@link #glGetnMapivARB GetnMapivARB} */
public static void glGetnMapivARB(@NativeType("GLenum") int target, @NativeType("GLenum") int query, @NativeType("GLint *") int[] data) {
long __functionAddress = GL.getICD().glGetnMapivARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, query, data.length, data);
}
/** Array version of: {@link #glGetnPixelMapfvARB GetnPixelMapfvARB} */
public static void glGetnPixelMapfvARB(@NativeType("GLenum") int map, @NativeType("GLfloat *") float[] data) {
long __functionAddress = GL.getICD().glGetnPixelMapfvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, map, data.length, data);
}
/** Array version of: {@link #glGetnPixelMapuivARB GetnPixelMapuivARB} */
public static void glGetnPixelMapuivARB(@NativeType("GLenum") int map, @NativeType("GLuint *") int[] data) {
long __functionAddress = GL.getICD().glGetnPixelMapuivARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, map, data.length, data);
}
/** Array version of: {@link #glGetnPixelMapusvARB GetnPixelMapusvARB} */
public static void glGetnPixelMapusvARB(@NativeType("GLenum") int map, @NativeType("GLushort *") short[] data) {
long __functionAddress = GL.getICD().glGetnPixelMapusvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, map, data.length, data);
}
/** Array version of: {@link #glGetnTexImageARB GetnTexImageARB} */
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") short[] img) {
long __functionAddress = GL.getICD().glGetnTexImageARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, tex, level, format, type, img.length << 1, img);
}
/** Array version of: {@link #glGetnTexImageARB GetnTexImageARB} */
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") int[] img) {
long __functionAddress = GL.getICD().glGetnTexImageARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, tex, level, format, type, img.length << 2, img);
}
/** Array version of: {@link #glGetnTexImageARB GetnTexImageARB} */
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") float[] img) {
long __functionAddress = GL.getICD().glGetnTexImageARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, tex, level, format, type, img.length << 2, img);
}
/** Array version of: {@link #glGetnTexImageARB GetnTexImageARB} */
public static void glGetnTexImageARB(@NativeType("GLenum") int tex, @NativeType("GLint") int level, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") double[] img) {
long __functionAddress = GL.getICD().glGetnTexImageARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, tex, level, format, type, img.length << 3, img);
}
/** Array version of: {@link #glReadnPixelsARB ReadnPixelsARB} */
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") short[] data) {
long __functionAddress = GL.getICD().glReadnPixelsARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, x, y, width, height, format, type, data.length << 1, data);
}
/** Array version of: {@link #glReadnPixelsARB ReadnPixelsARB} */
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") int[] data) {
long __functionAddress = GL.getICD().glReadnPixelsARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, x, y, width, height, format, type, data.length << 2, data);
}
/** Array version of: {@link #glReadnPixelsARB ReadnPixelsARB} */
public static void glReadnPixelsARB(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") float[] data) {
long __functionAddress = GL.getICD().glReadnPixelsARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, x, y, width, height, format, type, data.length << 2, data);
}
/** Array version of: {@link #glGetnColorTableARB GetnColorTableARB} */
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") short[] table) {
long __functionAddress = GL.getICD().glGetnColorTableARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, format, type, table.length << 1, table);
}
/** Array version of: {@link #glGetnColorTableARB GetnColorTableARB} */
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") int[] table) {
long __functionAddress = GL.getICD().glGetnColorTableARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, format, type, table.length << 2, table);
}
/** Array version of: {@link #glGetnColorTableARB GetnColorTableARB} */
public static void glGetnColorTableARB(@NativeType("GLenum") int target, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *") float[] table) {
long __functionAddress = GL.getICD().glGetnColorTableARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, target, format, type, table.length << 2, table);
}
/** Array version of: {@link #glGetnUniformfvARB GetnUniformfvARB} */
public static void glGetnUniformfvARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLfloat *") float[] params) {
long __functionAddress = GL.getICD().glGetnUniformfvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, program, location, params.length, params);
}
/** Array version of: {@link #glGetnUniformivARB GetnUniformivARB} */
public static void glGetnUniformivARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLint *") int[] params) {
long __functionAddress = GL.getICD().glGetnUniformivARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, program, location, params.length, params);
}
/** Array version of: {@link #glGetnUniformuivARB GetnUniformuivARB} */
public static void glGetnUniformuivARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLuint *") int[] params) {
long __functionAddress = GL.getICD().glGetnUniformuivARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, program, location, params.length, params);
}
/** Array version of: {@link #glGetnUniformdvARB GetnUniformdvARB} */
public static void glGetnUniformdvARB(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLdouble *") double[] params) {
long __functionAddress = GL.getICD().glGetnUniformdvARB;
if (CHECKS) {
check(__functionAddress);
}
callPV(__functionAddress, program, location, params.length, params);
}
}