public class TextureAtlasIconShaderVertex extends Shader
IconPainter
. Simply
applies projection matrices and passes attribute arrays through to geometry shader.Constructor and Description |
---|
TextureAtlasIconShaderVertex(int pixelCoordsAttributeIndex,
int texCoordsAttributeIndex,
int colorCoordsAttributeIndex) |
Modifier and Type | Method and Description |
---|---|
void |
postDisplay(javax.media.opengl.GL gl)
Called right after rendering is complete, just after reverting to the
fixed pipeline functionality.
|
void |
preDisplay(javax.media.opengl.GL gl)
Called right after this shader is made current as part of the pipeline.
|
boolean |
preLink(javax.media.opengl.GL gl,
int glProgramHandle)
Called right after the program has been compiled, but before it has been
linked.
|
public TextureAtlasIconShaderVertex(int pixelCoordsAttributeIndex, int texCoordsAttributeIndex, int colorCoordsAttributeIndex)
public boolean preLink(javax.media.opengl.GL gl, int glProgramHandle)
Shader
public void preDisplay(javax.media.opengl.GL gl)
Shader
preDisplay
in class Shader
public void postDisplay(javax.media.opengl.GL gl)
Shader
postDisplay
in class Shader
Copyright © 2016 Metron, Inc.. All rights reserved.