Uses of Class
playn.core.QuadBatch
-
Uses of QuadBatch in playn.core
Subclasses of QuadBatch in playn.coreModifier and TypeClassDescriptionclass
A batch which renders indexed triangles.class
A batch which renders quads by stuffing them into a big(ish) GLSL uniform variable.Methods in playn.core that return QuadBatchModifier and TypeMethodDescriptionConfigures this surface to usebatch
, if non-null.Methods in playn.core with parameters of type QuadBatchModifier and TypeMethodDescriptionvoid
Texture.addToBatch
(QuadBatch batch, int tint, AffineTransform tx, float x, float y, float width, float height) void
Texture.addToBatch
(QuadBatch batch, int tint, AffineTransform tx, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh) abstract void
Tile.addToBatch
(QuadBatch batch, int tint, AffineTransform tx, float x, float y, float width, float height) Adds this tile to the supplied quad batch.abstract void
Tile.addToBatch
(QuadBatch batch, int tint, AffineTransform tx, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh) Adds this tile to the supplied quad batch.void
Restores the batch that was in effect prior to aSurface.pushBatch(playn.core.QuadBatch)
call.Configures this surface to usebatch
, if non-null.Constructors in playn.core with parameters of type QuadBatchModifierConstructorDescriptionSurface
(Graphics gfx, RenderTarget target, QuadBatch defaultBatch) Creates a surface which will render totarget
usingdefaultBatch
as its default quad renderer.TextureSurface
(Graphics gfx, QuadBatch defaultBatch, float width, float height) Creates a texture surface which iswidth x height
in display units.TextureSurface
(Graphics gfx, QuadBatch defaultBatch, Texture texture) Creates a texture surface which renders totexture
.