Package playn.core

Class TexturedBatch.Source

java.lang.Object
playn.core.TexturedBatch.Source
Direct Known Subclasses:
TriangleBatch.Source, UniformQuadBatch.Source
Enclosing class:
TexturedBatch

public abstract static class TexturedBatch.Source extends Object
Provides some standard bits for a shader program that uses a tint and a texture.
  • Constructor Details

    • Source

      public Source()
  • Method Details

    • fragment

      public String fragment()
      Returns the source of the texture fragment shader program. Note that this program must preserve the use of the existing varying attributes. You can add new varying attributes, but you cannot remove or change the defaults.