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