Example usage for org.lwjgl.opengl GL41 glProgramBinary

List of usage examples for org.lwjgl.opengl GL41 glProgramBinary

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL41 glProgramBinary.

Prototype

public static void glProgramBinary(@NativeType("GLuint") int program, @NativeType("GLenum") int binaryFormat,
        @NativeType("void const *") ByteBuffer binary) 

Source Link

Document

Loads a program object with a program binary.

Usage

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glProgramBinary(int program, int binaryFormat, Buffer binary, int length) {
    // Length is calculated in glProgramBinary.
    GL41.glProgramBinary(program, binaryFormat, (ByteBuffer) binary);
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glProgramBinary(int a, int b, ByteBuffer c) {
    GL41.glProgramBinary(a, b, c);
}