class SWRTTexture extends SWArgbPreTexture implements RTTexture
Texture.Usage, Texture.WrapMode| Modifier and Type | Field and Description |
|---|---|
private Rectangle |
dimensions |
private boolean |
isOpaque |
private PiscesRenderer |
pr |
private JavaSurface |
surface |
allocated, contentHeight, contentWidth, employcount, permanent, physicalHeight, physicalWidth| Constructor and Description |
|---|
SWRTTexture(SWResourceFactory factory,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
Graphics |
createGraphics() |
Screen |
getAssociatedScreen() |
(package private) Rectangle |
getDimensions() |
int[] |
getPixels() |
(package private) JavaSurface |
getSurface() |
boolean |
isMSAA() |
boolean |
isOpaque() |
boolean |
isVolatile() |
boolean |
readPixels(java.nio.Buffer pixels) |
boolean |
readPixels(java.nio.Buffer pixels,
int x,
int y,
int width,
int height) |
void |
setOpaque(boolean opaque) |
allocateBuffer, applyCompositeAlpha, checkDimensions, createSharedLockedTexture, getDataNoClone, getOffset, getPixelFormat, hasAlpha, update, updateallocate, assertLocked, contentsNotUseful, contentsUseful, create, dispose, getContentHeight, getContentWidth, getContentX, getContentY, getLastImageSerial, getLinearFiltering, getLockCount, getMaxContentHeight, getMaxContentWidth, getPhysicalHeight, getPhysicalWidth, getResourceFactory, getSharedTexture, getUseMipmap, getWrapMode, isLocked, isSurfaceLost, lock, makePermanent, setContentHeight, setContentWidth, setLastImageSerial, setLinearFiltering, unlock, update, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertLocked, contentsNotUseful, contentsUseful, getContentHeight, getContentWidth, getContentX, getContentY, getLastImageSerial, getLinearFiltering, getLockCount, getMaxContentHeight, getMaxContentWidth, getPhysicalHeight, getPhysicalWidth, getPixelFormat, getSharedTexture, getUseMipmap, getWrapMode, isLocked, isSurfaceLost, lock, makePermanent, setContentHeight, setContentWidth, setLastImageSerial, setLinearFiltering, unlock, update, update, update, update, update, updatedisposegetContentHeight, getContentWidth, getContentX, getContentY, getPhysicalHeight, getPhysicalWidthprivate PiscesRenderer pr
private JavaSurface surface
private final Rectangle dimensions
private boolean isOpaque
SWRTTexture(SWResourceFactory factory, int w, int h)
JavaSurface getSurface()
public boolean readPixels(java.nio.Buffer pixels,
int x,
int y,
int width,
int height)
readPixels in interface RTTexturepublic boolean readPixels(java.nio.Buffer pixels)
readPixels in interface RTTexturepublic Screen getAssociatedScreen()
getAssociatedScreen in interface RenderTargetpublic Graphics createGraphics()
createGraphics in interface RenderTargetpublic boolean isOpaque()
isOpaque in interface RenderTargetpublic void setOpaque(boolean opaque)
setOpaque in interface RenderTargetRectangle getDimensions()
public boolean isVolatile()
isVolatile in interface RTTexturepublic boolean isMSAA()
isMSAA in interface RenderTarget