Example usage for org.lwjgl.opengl GL41 glGetProgramBinary

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

Introduction

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

Prototype

public static void glGetProgramBinary(@NativeType("GLuint") int program,
        @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLenum *") int[] binaryFormat,
        @NativeType("void *") ByteBuffer binary) 

Source Link

Document

Array version of: #glGetProgramBinary GetProgramBinary

Usage

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glGetProgramBinary(int program, int bufSize, IntBuffer length, IntBuffer binaryFormat,
        Buffer binary) {/*  w w  w . j av  a  2s.com*/
    GL41.glGetProgramBinary(program, length, binaryFormat, (ByteBuffer) binary);
}

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

License:Open Source License

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