Example usage for org.lwjgl.opengl GL32 GL_GEOMETRY_VERTICES_OUT

List of usage examples for org.lwjgl.opengl GL32 GL_GEOMETRY_VERTICES_OUT

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL32 GL_GEOMETRY_VERTICES_OUT.

Prototype

int GL_GEOMETRY_VERTICES_OUT

To view the source code for org.lwjgl.opengl GL32 GL_GEOMETRY_VERTICES_OUT.

Click Source Link

Document

Accepted by the pname parameter of ProgramParameteri and GetProgramiv.

Usage

From source file:org.jogamp.glg2d.impl.shader.GeometryShaderStrokePipeline.java

License:Apache License

@Override
protected void attachShaders() {
    super.attachShaders();

    GL41.glProgramParameteri(programId, GL32.GL_GEOMETRY_INPUT_TYPE, GL11.GL_LINES);
    GL41.glProgramParameteri(programId, GL32.GL_GEOMETRY_OUTPUT_TYPE, GL11.GL_TRIANGLE_STRIP);
    GL41.glProgramParameteri(programId, GL32.GL_GEOMETRY_VERTICES_OUT, maxVerticesOut);
}