Public Member Functions | |
void | beginBatch () |
void | drawSprite (float x, float y, float width, float height, TextureRegion region) |
void | endBatch () |
SpriteBatch (GL10 gl, int maxSprites) | |
Package Attributes | |
int | bufferIndex |
GL10 | gl |
int | maxSprites |
int | numSprites |
float[] | vertexBuffer |
Vertices | vertices |
Static Package Attributes | |
static final int | INDICES_PER_SPRITE = 6 |
static final int | VERTEX_SIZE = 4 |
static final int | VERTICES_PER_SPRITE = 4 |
Definition at line 5 of file SpriteBatch.java.
uk.co.blogspot.fractiousg.texample.SpriteBatch.SpriteBatch | ( | GL10 | gl, |
int | maxSprites | ||
) | [inline] |
Definition at line 24 of file SpriteBatch.java.
void uk.co.blogspot.fractiousg.texample.SpriteBatch.beginBatch | ( | ) | [inline] |
Definition at line 50 of file SpriteBatch.java.
void uk.co.blogspot.fractiousg.texample.SpriteBatch.drawSprite | ( | float | x, |
float | y, | ||
float | width, | ||
float | height, | ||
TextureRegion | region | ||
) | [inline] |
Definition at line 77 of file SpriteBatch.java.
void uk.co.blogspot.fractiousg.texample.SpriteBatch.endBatch | ( | ) | [inline] |
Definition at line 59 of file SpriteBatch.java.
Definition at line 16 of file SpriteBatch.java.
GL10 uk.co.blogspot.fractiousg.texample.SpriteBatch.gl [package] |
Definition at line 13 of file SpriteBatch.java.
final int uk.co.blogspot.fractiousg.texample.SpriteBatch.INDICES_PER_SPRITE = 6 [static, package] |
Definition at line 10 of file SpriteBatch.java.
Definition at line 17 of file SpriteBatch.java.
Definition at line 18 of file SpriteBatch.java.
final int uk.co.blogspot.fractiousg.texample.SpriteBatch.VERTEX_SIZE = 4 [static, package] |
Definition at line 8 of file SpriteBatch.java.
float [] uk.co.blogspot.fractiousg.texample.SpriteBatch.vertexBuffer [package] |
Definition at line 15 of file SpriteBatch.java.
Definition at line 14 of file SpriteBatch.java.
final int uk.co.blogspot.fractiousg.texample.SpriteBatch.VERTICES_PER_SPRITE = 4 [static, package] |
Definition at line 9 of file SpriteBatch.java.