public class PPSDrawable extends PrDrawable
Modifier | Constructor and Description |
---|---|
private |
PPSDrawable(RTTexture rtt) |
Modifier and Type | Method and Description |
---|---|
(package private) static PPSDrawable |
create(ResourceFactory factory,
int width,
int height) |
(package private) static PPSDrawable |
create(RTTexture rtt) |
ShaderGraphics |
createGraphics() |
void |
flush() |
(package private) static int |
getCompatibleHeight(ResourceFactory factory,
int h) |
(package private) static int |
getCompatibleWidth(ResourceFactory factory,
int w) |
int |
getContentHeight() |
int |
getContentWidth() |
java.lang.Object |
getData() |
int |
getMaxContentHeight() |
int |
getMaxContentWidth() |
int |
getPhysicalHeight() |
int |
getPhysicalWidth() |
boolean |
isLost() |
void |
setContentHeight(int contentH) |
void |
setContentWidth(int contentW) |
clear, create, getImagePool, getPixelScale, setImagePool
getNativeBounds, getTextureObject, lock, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lock, unlock
private RTTexture rtt
private PPSDrawable(RTTexture rtt)
static PPSDrawable create(RTTexture rtt)
static int getCompatibleWidth(ResourceFactory factory, int w)
static int getCompatibleHeight(ResourceFactory factory, int h)
static PPSDrawable create(ResourceFactory factory, int width, int height)
public boolean isLost()
isLost
in interface LockableResource
isLost
in class PrTexture<RTTexture>
public void flush()
public java.lang.Object getData()
public int getContentWidth()
public int getContentHeight()
public int getMaxContentWidth()
getMaxContentWidth
in interface Filterable
getMaxContentWidth
in class PrDrawable
public int getMaxContentHeight()
getMaxContentHeight
in interface Filterable
getMaxContentHeight
in class PrDrawable
public void setContentWidth(int contentW)
setContentWidth
in interface Filterable
setContentWidth
in class PrDrawable
public void setContentHeight(int contentH)
setContentHeight
in interface Filterable
setContentHeight
in class PrDrawable
public int getPhysicalWidth()
public int getPhysicalHeight()
public ShaderGraphics createGraphics()
createGraphics
in class PrDrawable