org.lwjgl.opengl.NVPixelDataRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.*;
import java.nio.*;
public final class NVPixelDataRange {
/**
* Accepted by the <target> parameter of PixelDataRangeNV and
* FlushPixelDataRangeNV, and by the <cap> parameter of
* EnableClientState, DisableClientState, and IsEnabled:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878,
GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
/**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A,
GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B;
/**
* Accepted by the <pname> parameter of GetPointerv:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C,
GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
private NVPixelDataRange() {}
public static void glPixelDataRangeNV(int target, ByteBuffer data) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(data);
nglPixelDataRangeNV(target, data.remaining(), MemoryUtil.getAddress(data), function_pointer);
}
public static void glPixelDataRangeNV(int target, DoubleBuffer data) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(data);
nglPixelDataRangeNV(target, (data.remaining() << 3), MemoryUtil.getAddress(data), function_pointer);
}
public static void glPixelDataRangeNV(int target, FloatBuffer data) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(data);
nglPixelDataRangeNV(target, (data.remaining() << 2), MemoryUtil.getAddress(data), function_pointer);
}
public static void glPixelDataRangeNV(int target, IntBuffer data) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(data);
nglPixelDataRangeNV(target, (data.remaining() << 2), MemoryUtil.getAddress(data), function_pointer);
}
public static void glPixelDataRangeNV(int target, ShortBuffer data) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(data);
nglPixelDataRangeNV(target, (data.remaining() << 1), MemoryUtil.getAddress(data), function_pointer);
}
static native void nglPixelDataRangeNV(int target, int data_length, long data, long function_pointer);
public static void glFlushPixelDataRangeNV(int target) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glFlushPixelDataRangeNV;
BufferChecks.checkFunctionAddress(function_pointer);
nglFlushPixelDataRangeNV(target, function_pointer);
}
static native void nglFlushPixelDataRangeNV(int target, long function_pointer);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy