Example usage for org.lwjgl.opengl GL40 glGetSubroutineUniformLocation

List of usage examples for org.lwjgl.opengl GL40 glGetSubroutineUniformLocation

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL40 glGetSubroutineUniformLocation.

Prototype

@NativeType("GLint")
public static int glGetSubroutineUniformLocation(@NativeType("GLuint") int program,
        @NativeType("GLenum") int shadertype, @NativeType("GLchar const *") CharSequence name) 

Source Link

Document

Retrieves the location of a subroutine uniform of a given shader stage within a program.

Usage

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

License:Open Source License

public static int glGetSubroutineUniformLocation(int a, int b, CharSequence c) {
    return GL40.glGetSubroutineUniformLocation(a, b, c);
}

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

License:Open Source License

public static int glGetSubroutineUniformLocation(int a, int b, ByteBuffer c) {
    return GL40.glGetSubroutineUniformLocation(a, b, c);
}