Uses of Class
playn.core.QuadBatch
-
Uses of QuadBatch in playn.core
Subclasses of QuadBatch in playn.coreModifier and TypeClassDescriptionclassA batch which renders indexed triangles.classA 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 TypeMethodDescriptionvoidTexture.addToBatch(QuadBatch batch, int tint, AffineTransform tx, float x, float y, float width, float height) voidTexture.addToBatch(QuadBatch batch, int tint, AffineTransform tx, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh) abstract voidTile.addToBatch(QuadBatch batch, int tint, AffineTransform tx, float x, float y, float width, float height) Adds this tile to the supplied quad batch.abstract voidTile.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.voidRestores 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 totargetusingdefaultBatchas its default quad renderer.TextureSurface(Graphics gfx, QuadBatch defaultBatch, float width, float height) Creates a texture surface which iswidth x heightin display units.TextureSurface(Graphics gfx, QuadBatch defaultBatch, Texture texture) Creates a texture surface which renders totexture.