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

org.lwjgl.opengl.ARBGetProgramBinary 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 ARBGetProgramBinary {

	/**
	 *  Accepted by the <pname> parameter of ProgramParameteri and
	 *  GetProgramiv:
	 */
	public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257;

	/**
	 * Accepted by the <pname> parameter of GetProgramiv: 
	 */
	public static final int GL_PROGRAM_BINARY_LENGTH = 0x8741;

	/**
	 *  Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
	 *  GetInteger64v, GetFloatv and GetDoublev:
	 */
	public static final int GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE,
		GL_PROGRAM_BINARY_FORMATS = 0x87FF;

	private ARBGetProgramBinary() {}

	public static void glGetProgramBinary(int program, IntBuffer length, IntBuffer binaryFormat, ByteBuffer binary) {
		GL41.glGetProgramBinary(program, length, binaryFormat, binary);
	}

	public static void glProgramBinary(int program, int binaryFormat, ByteBuffer binary) {
		GL41.glProgramBinary(program, binaryFormat, binary);
	}

	public static void glProgramParameteri(int program, int pname, int value) {
		GL41.glProgramParameteri(program, pname, value);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy