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

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

The newest version!
/* MACHINE GENERATED FILE, DO NOT EDIT */

package org.lwjgl.opengl;

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

public final class ARBBindlessTexture {

	/**
	 * Accepted by the <type> parameter of VertexAttribLPointer: 
	 */
	public static final int GL_UNSIGNED_INT64_ARB = 0x140F;

	private ARBBindlessTexture() {}

	public static long glGetTextureHandleARB(int texture) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glGetTextureHandleARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		long __result = nglGetTextureHandleARB(texture, function_pointer);
		return __result;
	}
	static native long nglGetTextureHandleARB(int texture, long function_pointer);

	public static long glGetTextureSamplerHandleARB(int texture, int sampler) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glGetTextureSamplerHandleARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		long __result = nglGetTextureSamplerHandleARB(texture, sampler, function_pointer);
		return __result;
	}
	static native long nglGetTextureSamplerHandleARB(int texture, int sampler, long function_pointer);

	public static void glMakeTextureHandleResidentARB(long handle) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glMakeTextureHandleResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglMakeTextureHandleResidentARB(handle, function_pointer);
	}
	static native void nglMakeTextureHandleResidentARB(long handle, long function_pointer);

	public static void glMakeTextureHandleNonResidentARB(long handle) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glMakeTextureHandleNonResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglMakeTextureHandleNonResidentARB(handle, function_pointer);
	}
	static native void nglMakeTextureHandleNonResidentARB(long handle, long function_pointer);

	public static long glGetImageHandleARB(int texture, int level, boolean layered, int layer, int format) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glGetImageHandleARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		long __result = nglGetImageHandleARB(texture, level, layered, layer, format, function_pointer);
		return __result;
	}
	static native long nglGetImageHandleARB(int texture, int level, boolean layered, int layer, int format, long function_pointer);

	public static void glMakeImageHandleResidentARB(long handle, int access) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glMakeImageHandleResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglMakeImageHandleResidentARB(handle, access, function_pointer);
	}
	static native void nglMakeImageHandleResidentARB(long handle, int access, long function_pointer);

	public static void glMakeImageHandleNonResidentARB(long handle) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glMakeImageHandleNonResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglMakeImageHandleNonResidentARB(handle, function_pointer);
	}
	static native void nglMakeImageHandleNonResidentARB(long handle, long function_pointer);

	public static void glUniformHandleui64ARB(int location, long value) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glUniformHandleui64ARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglUniformHandleui64ARB(location, value, function_pointer);
	}
	static native void nglUniformHandleui64ARB(int location, long value, long function_pointer);

	public static void glUniformHandleuARB(int location, LongBuffer value) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glUniformHandleui64vARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkDirect(value);
		nglUniformHandleui64vARB(location, value.remaining(), MemoryUtil.getAddress(value), function_pointer);
	}
	static native void nglUniformHandleui64vARB(int location, int value_count, long value, long function_pointer);

	public static void glProgramUniformHandleui64ARB(int program, int location, long value) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glProgramUniformHandleui64ARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglProgramUniformHandleui64ARB(program, location, value, function_pointer);
	}
	static native void nglProgramUniformHandleui64ARB(int program, int location, long value, long function_pointer);

	public static void glProgramUniformHandleuARB(int program, int location, LongBuffer values) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glProgramUniformHandleui64vARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkDirect(values);
		nglProgramUniformHandleui64vARB(program, location, values.remaining(), MemoryUtil.getAddress(values), function_pointer);
	}
	static native void nglProgramUniformHandleui64vARB(int program, int location, int values_count, long values, long function_pointer);

	public static boolean glIsTextureHandleResidentARB(long handle) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glIsTextureHandleResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		boolean __result = nglIsTextureHandleResidentARB(handle, function_pointer);
		return __result;
	}
	static native boolean nglIsTextureHandleResidentARB(long handle, long function_pointer);

	public static boolean glIsImageHandleResidentARB(long handle) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glIsImageHandleResidentARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		boolean __result = nglIsImageHandleResidentARB(handle, function_pointer);
		return __result;
	}
	static native boolean nglIsImageHandleResidentARB(long handle, long function_pointer);

	public static void glVertexAttribL1ui64ARB(int index, long x) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glVertexAttribL1ui64ARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglVertexAttribL1ui64ARB(index, x, function_pointer);
	}
	static native void nglVertexAttribL1ui64ARB(int index, long x, long function_pointer);

	public static void glVertexAttribL1uARB(int index, LongBuffer v) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glVertexAttribL1ui64vARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkBuffer(v, 1);
		nglVertexAttribL1ui64vARB(index, MemoryUtil.getAddress(v), function_pointer);
	}
	static native void nglVertexAttribL1ui64vARB(int index, long v, long function_pointer);

	public static void glGetVertexAttribLuARB(int index, int pname, LongBuffer params) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glGetVertexAttribLui64vARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		BufferChecks.checkBuffer(params, 4);
		nglGetVertexAttribLui64vARB(index, pname, MemoryUtil.getAddress(params), function_pointer);
	}
	static native void nglGetVertexAttribLui64vARB(int index, int pname, long params, long function_pointer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy