34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
|
|
|
package org.lwjgl.opengl;
|
|
|
|
import org.lwjgl.LWJGLException;
|
|
import org.lwjgl.BufferChecks;
|
|
import java.nio.*;
|
|
|
|
public final class NVRegisterCombiners2 {
|
|
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
|
|
|
|
private NVRegisterCombiners2() {
|
|
}
|
|
|
|
|
|
public static void glCombinerStageParameterNV(int stage, int pname, FloatBuffer params) {
|
|
ContextCapabilities caps = GLContext.getCapabilities();
|
|
long function_pointer = caps.NV_register_combiners2_glCombinerStageParameterfvNV_pointer;
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
BufferChecks.checkBuffer(params, 4);
|
|
nglCombinerStageParameterfvNV(stage, pname, params, params.position(), function_pointer);
|
|
}
|
|
private static native void nglCombinerStageParameterfvNV(int stage, int pname, FloatBuffer params, int params_position, long function_pointer);
|
|
|
|
public static void glGetCombinerStageParameterNV(int stage, int pname, FloatBuffer params) {
|
|
ContextCapabilities caps = GLContext.getCapabilities();
|
|
long function_pointer = caps.NV_register_combiners2_glGetCombinerStageParameterfvNV_pointer;
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
BufferChecks.checkBuffer(params, 4);
|
|
nglGetCombinerStageParameterfvNV(stage, pname, params, params.position(), function_pointer);
|
|
}
|
|
private static native void nglGetCombinerStageParameterfvNV(int stage, int pname, FloatBuffer params, int params_position, long function_pointer);
|
|
}
|