public class TextureAtlasIconShaderGeometry extends SimpleGeometryShader
IconPainter
. Takes
points indicating icon positions and expands them into rectangles (triangle strips) textured using
data from a TextureAtlas
.inType, outType
Constructor and Description |
---|
TextureAtlasIconShaderGeometry() |
Modifier and Type | Method and Description |
---|---|
void |
setGlobalScale(float scale) |
void |
updateViewport(GlimpseBounds bounds) |
void |
updateViewport(int width,
int height) |
linesToVariableSizeNGons, linesToXs, passGeometry, pointsToFixedSizeNGons, pointsToPixelSizedNGons, preLink
getSource, passFragment, passVertex, postDisplay, preDisplay
public void updateViewport(GlimpseBounds bounds)
public void updateViewport(int width, int height)
public void setGlobalScale(float scale)
Copyright © 2013 Metron, Inc.. All rights reserved.