Example usage for org.lwjgl.opengl GL30 glTransformFeedbackVaryings

List of usage examples for org.lwjgl.opengl GL30 glTransformFeedbackVaryings

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL30 glTransformFeedbackVaryings.

Prototype

public static void glTransformFeedbackVaryings(@NativeType("GLuint") int program,
        @NativeType("GLchar const **") CharSequence varying, @NativeType("GLenum") int bufferMode) 

Source Link

Document

Specifies values to record in transform feedback buffers.

Usage

From source file:com.badlogic.gdx.backends.jglfw.JglfwGL30.java

License:Apache License

@Override
public void glTransformFeedbackVaryings(int program, String[] varyings, int bufferMode) {
    GL30.glTransformFeedbackVaryings(program, varyings, bufferMode);
}

From source file:com.xrbpowered.gl.res.shaders.FeedbackVertexInfo.java

License:Open Source License

@Override
public int bindAttribLocations(int programId) {
    int res = super.bindAttribLocations(programId);
    if (feedbackNames != null) {
        System.out.println("glTransformFeedbackVaryings " + Arrays.toString(feedbackNames));
        GL30.glTransformFeedbackVaryings(programId, feedbackNames, GL30.GL_INTERLEAVED_ATTRIBS);
    }/*w  ww.j  av  a2s  . c o  m*/
    return res;
}

From source file:io.root.gfx.glutils.GL.java

License:Apache License

public static void glTransformFeedbackVaryings(int program, String[] varyings, int bufferMode) {
    GL30.glTransformFeedbackVaryings(program, varyings, bufferMode);
}

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

License:Open Source License

public static void glTransformFeedbackVaryings(int a, CharSequence[] b, int c) {
    GL30.glTransformFeedbackVaryings(a, b, c);
}