Class QuadPipelines
- java.lang.Object
-
- com.metsci.glimpse.jogamp.opengl.util.awt.text.QuadPipelines
-
public final class QuadPipelines extends Object
Utility for working withQuadPipeline's.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuadPipelineget(com.jogamp.opengl.GL gl, int program)Creates aQuadPipelinebased on the current OpenGL context.
-
-
-
Method Detail
-
get
public QuadPipeline get(com.jogamp.opengl.GL gl, int program)
Creates aQuadPipelinebased on the current OpenGL context.- Parameters:
gl- Current OpenGL contextprogram- Shader program to use, or zero to use default- Returns:
- New quad pipeline for the version of OpenGL in use, not null
- Throws:
NullPointerException- if context is nullIllegalArgumentException- if shader program is negativeUnsupportedOperationException- if GL is unsupported
-
-