@WorkerThread public class GlLayerShape extends GlObject
Modifier and Type | Class and Description |
---|---|
static interface |
GlLayerShape.DrawScript<T extends GlProgram> |
Modifier and Type | Field and Description |
---|---|
static float[] |
FILL_VIEWPORT_VERTICES_DATA |
Constructor and Description |
---|
GlLayerShape() |
GlLayerShape(boolean hasStaticData) |
GlLayerShape(float[] verticesData,
boolean hasStaticData) |
Modifier and Type | Method and Description |
---|---|
void |
attach() |
void |
disable() |
void |
enable(GlProgram program) |
protected void |
onRelease() |
void |
updateVerticesData(float[] verticesData) |
void |
updateVerticesData(float[] shapePos,
float[] texturePos,
float[] backgroundTexturePos) |
createGlContext, destroyGlContext, finalize, markAsUnused, release, resetToDisplayViewPort, setDisplayViewPort
public GlLayerShape()
public GlLayerShape(float[] verticesData, boolean hasStaticData)
public GlLayerShape(boolean hasStaticData)
public void updateVerticesData(float[] verticesData)
public void attach()
public void updateVerticesData(float[] shapePos, float[] texturePos, float[] backgroundTexturePos)
public void enable(GlProgram program)
public void disable()