Example usage for org.lwjgl.opengl GL40 glGetSubroutineIndex

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

Introduction

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

Prototype

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

Source Link

Document

Retrieves the index of a subroutine function 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 glGetSubroutineIndex(int a, int b, ByteBuffer c) {
    return GL40.glGetSubroutineIndex(a, b, c);
}

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

License:Open Source License

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