| Modifier and Type | Field and Description |
|---|---|
GL20 |
Graphics.gl
Provides access to GL services.
|
GL20 |
TexturedBatch.gl |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
UniformQuadBatch.isLikelyToPerform(GL20 gl)
Returns false if the GL context doesn't support sufficient numbers of vertex uniform vectors
to allow this shader to run with good performance, true otherwise.
|
| Constructor and Description |
|---|
GLProgram(GL20 gl,
java.lang.String vertexSource,
java.lang.String fragmentSource)
Compiles and links the shader program described by
vertexSource and
fragmentSource. |
TriangleBatch(GL20 gl)
Creates a triangle batch with the default shader program.
|
TriangleBatch(GL20 gl,
TriangleBatch.Source source)
Creates a triangle batch with the supplied custom shader program.
|
UniformQuadBatch(GL20 gl)
Creates a uniform quad batch with the default shader programs.
|
UniformQuadBatch(GL20 gl,
UniformQuadBatch.Source source)
Creates a uniform quad batch with the supplied custom shader program builder.
|
Copyright © 2018. All Rights Reserved.