All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.EXTGpuProgramParameters Maven / Gradle / Ivy

There is a newer version: 2.9.3
Show newest version
/* MACHINE GENERATED FILE, DO NOT EDIT */

package org.lwjgl.opengl;

import org.lwjgl.*;
import java.nio.*;

public final class EXTGpuProgramParameters {

	private EXTGpuProgramParameters() {}

	public static void glProgramEnvParameters4EXT(int target, int index, int count, FloatBuffer params) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glProgramEnvParameters4fvEXT;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkBuffer(params, count << 2);
		nglProgramEnvParameters4fvEXT(target, index, count, MemoryUtil.getAddress(params), function_pointer);
	}
	static native void nglProgramEnvParameters4fvEXT(int target, int index, int count, long params, long function_pointer);

	public static void glProgramLocalParameters4EXT(int target, int index, int count, FloatBuffer params) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glProgramLocalParameters4fvEXT;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkBuffer(params, count << 2);
		nglProgramLocalParameters4fvEXT(target, index, count, MemoryUtil.getAddress(params), function_pointer);
	}
	static native void nglProgramLocalParameters4fvEXT(int target, int index, int count, long params, long function_pointer);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy