public abstract class

BaseTextureRegion

extends Object
java.lang.Object
   ↳ org.anddev.andengine.opengl.texture.region.BaseTextureRegion
Known Direct Subclasses

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Fields
protected int mHeight
protected final ITexture mTexture
protected int mTexturePositionX
protected int mTexturePositionY
protected final TextureRegionBuffer mTextureRegionBuffer
protected int mWidth
Public Constructors
BaseTextureRegion(ITexture pTexture, int pTexturePositionX, int pTexturePositionY, int pWidth, int pHeight)
Public Methods
int getHeight()
ITexture getTexture()
TextureRegionBuffer getTextureBuffer()
abstract float getTextureCoordinateX1()
abstract float getTextureCoordinateX2()
abstract float getTextureCoordinateY1()
abstract float getTextureCoordinateY2()
int getTexturePositionX()
int getTexturePositionY()
int getWidth()
boolean isFlippedHorizontal()
boolean isFlippedVertical()
boolean isTextureRegionBufferManaged()
void onApply(GL10 pGL)
void setFlippedHorizontal(boolean pFlippedHorizontal)
void setFlippedVertical(boolean pFlippedVertical)
void setHeight(int pHeight)
void setTexturePosition(int pTexturePositionX, int pTexturePositionY)
void setTextureRegionBufferManaged(boolean pTextureRegionBufferManaged)
void setWidth(int pWidth)
Protected Methods
abstract BaseTextureRegion deepCopy()
void initTextureBuffer()
void updateTextureRegionBuffer()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected int mHeight

protected final ITexture mTexture

protected int mTexturePositionX

protected int mTexturePositionY

protected final TextureRegionBuffer mTextureRegionBuffer

protected int mWidth

Public Constructors

public BaseTextureRegion (ITexture pTexture, int pTexturePositionX, int pTexturePositionY, int pWidth, int pHeight)

Public Methods

public int getHeight ()

public ITexture getTexture ()

public TextureRegionBuffer getTextureBuffer ()

public abstract float getTextureCoordinateX1 ()

public abstract float getTextureCoordinateX2 ()

public abstract float getTextureCoordinateY1 ()

public abstract float getTextureCoordinateY2 ()

public int getTexturePositionX ()

public int getTexturePositionY ()

public int getWidth ()

public boolean isFlippedHorizontal ()

public boolean isFlippedVertical ()

public boolean isTextureRegionBufferManaged ()

public void onApply (GL10 pGL)

public void setFlippedHorizontal (boolean pFlippedHorizontal)

public void setFlippedVertical (boolean pFlippedVertical)

public void setHeight (int pHeight)

public void setTexturePosition (int pTexturePositionX, int pTexturePositionY)

public void setTextureRegionBufferManaged (boolean pTextureRegionBufferManaged)

public void setWidth (int pWidth)

Protected Methods

protected abstract BaseTextureRegion deepCopy ()

protected void initTextureBuffer ()

protected void updateTextureRegionBuffer ()