List of usage examples for org.lwjgl.opengl GL30 glBindFragDataLocation
public static void glBindFragDataLocation(@NativeType("GLuint") int program, @NativeType("GLuint") int colorNumber, @NativeType("GLchar const *") CharSequence name)
From source file:ar.com.quark.backend.lwjgl.opengl.DesktopGLES20.java
License:Apache License
/** * {@inheritDoc}//w w w .jav a 2 s . c o m */ @Override public void glBindFragDataLocation(int name, int index, String attribute) { GL30.glBindFragDataLocation(name, index, attribute); }
From source file:com.samrj.devil.gl.ShaderProgram.java
License:Open Source License
/** * Binds the given color output name to the given color attachment. * //from w w w .ja va 2s.com * @param name The output variable name to bind. * @param colorNumber The color attachment layer to bind to. */ public void bindFragDataLocation(String name, int colorNumber) { if (DGL.currentProgram() != this) throw new IllegalStateException("Program must be in use."); GL30.glBindFragDataLocation(id, colorNumber, name); }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static void glBindFragDataLocation(int a, int b, ByteBuffer c) { GL30.glBindFragDataLocation(a, b, c); }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static void glBindFragDataLocation(int a, int b, CharSequence c) { GL30.glBindFragDataLocation(a, b, c); }