com.metsci.glimpse.support.shader.geometry
Class SimpleGeometryShader
java.lang.Object
com.metsci.glimpse.gl.shader.Shader
com.metsci.glimpse.support.shader.geometry.SimpleShader
com.metsci.glimpse.support.shader.geometry.SimpleGeometryShader
public class SimpleGeometryShader
- extends SimpleShader
Constructor Summary |
SimpleGeometryShader(java.lang.String name,
java.lang.String shaderFile,
int inType,
int outType,
int maxVertices)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
inType
public final int inType
outType
public final int outType
SimpleGeometryShader
public SimpleGeometryShader(java.lang.String name,
java.lang.String shaderFile,
int inType,
int outType,
int maxVertices)
passGeometry
public static SimpleGeometryShader passGeometry(int inType,
int outType,
int maxVertices)
pointsToFixedSizeNGons
public static SimpleGeometryShader pointsToFixedSizeNGons(boolean solid,
int N,
float radius)
pointsToPixelSizedNGons
public static SimpleGeometryShader pointsToPixelSizedNGons(boolean solid,
int N,
int radiusPixels)
linesToVariableSizeNGons
public static SimpleGeometryShader linesToVariableSizeNGons(boolean solid,
int N)
linesToXs
public static SimpleGeometryShader linesToXs()
preLink
public boolean preLink(javax.media.opengl.GL gl,
int glProgramHandle)
- Description copied from class:
Shader
- Called right after the program has been compiled, but before it has been
linked.
- Overrides:
preLink
in class SimpleShader
- Returns:
- false if any problems specific to this shader are found, true
otherwise
Copyright © 2012 Metron, Inc.. All Rights Reserved.