public class QuadBuffer extends VertexBuffer
Modifier and Type | Field and Description |
---|---|
protected float |
mHeight |
protected float[] |
mValues |
protected float |
mWidth |
protected float |
mX |
protected float |
mY |
mIndexBuffer, mIndicesNum, mIndicesNumUsed, mPrimitive, mVertexPointerSize, mVerticesNum
mBuffer
Constructor and Description |
---|
QuadBuffer() |
QuadBuffer(float x,
float y,
float width,
float height) |
Modifier and Type | Method and Description |
---|---|
static boolean |
compare(QuadBuffer a,
QuadBuffer b) |
float |
getHeight() |
float[] |
getValues() |
float |
getWidth() |
boolean |
hasSize() |
void |
setRect(float x,
float y,
float width,
float height) |
void |
setRectFlipVertical(float x,
float y,
float width,
float height) |
void |
setSize(float width,
float height) |
dispose, draw, getIndexBuffer, getIndicesNum, getIndicesNumUsed, getPrimitive, getVertexPointerSize, getVerticesNum, setIndices, setIndicesNumUsed, setPrimitive, setVertexPointerSize, setVertices
setValues
protected float[] mValues
protected float mX
protected float mY
protected float mWidth
protected float mHeight
public QuadBuffer()
public QuadBuffer(float x, float y, float width, float height)
public void setRect(float x, float y, float width, float height)
public void setRectFlipVertical(float x, float y, float width, float height)
public void setSize(float width, float height)
public boolean hasSize()
public float getWidth()
public float getHeight()
public float[] getValues()
public static boolean compare(QuadBuffer a, QuadBuffer b)