Package playn.core
Class TexturedBatch.Source
java.lang.Object
playn.core.TexturedBatch.Source
- Direct Known Subclasses:
TriangleBatch.Source
,UniformQuadBatch.Source
- Enclosing class:
TexturedBatch
Provides some standard bits for a shader program that uses a tint and a texture.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
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.
-