Uses of Class
playn.core.GL20

  • Uses of GL20 in playn.core

    Fields in playn.core declared as GL20
    Modifier and Type
    Field
    Description
    final GL20
    Graphics.gl
    Provides access to GL services.
    final GL20
    TexturedBatch.gl
     
    Methods in playn.core with parameters of type GL20
    Modifier and Type
    Method
    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.
    Constructors in playn.core with parameters of type GL20
    Modifier
    Constructor
    Description
     
    GLProgram(GL20 gl, String vertexSource, String fragmentSource)
    Compiles and links the shader program described by vertexSource and fragmentSource.
     
    Creates a triangle batch with the default shader program.
     
    Creates a triangle batch with the supplied custom shader program.
     
    Creates a uniform quad batch with the default shader programs.
     
    Creates a uniform quad batch with the supplied custom shader program builder.