class DummyGraphics extends BaseShaderGraphics
IDENT, isSimpleTranslate, nodeBounds, paint, scratchEllipse, scratchLine, scratchRRect, stroke, transX, transY| Modifier | Constructor and Description |
|---|---|
private |
DummyGraphics(DummyContext context,
RenderTarget target) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(Color color)
Clears the current
RenderTarget with the given Color. |
void |
clearQuad(float x1,
float y1,
float x2,
float y2)
Clears the region represented by the given quad with transparent pixels.
|
(package private) static Graphics |
create(RenderTarget target,
DummyContext ctx) |
boolean |
isState3D() |
void |
setState3D(boolean flag) |
void |
setup3DRendering() |
void |
sync()
Synchronize, or flush, any outstanding rendering operations to the
destination in preparation for some caller potentially reusing or
disposing a resource that has been used as the source of a recently
invoked rendering operation.
|
blit, canReadBack, drawEllipse, drawLine, drawMappedTextureRaw2, drawMultiTexture, drawPixelsMasked, drawRect, drawRoundRect, drawString, drawTexture, drawTexture3SliceH, drawTexture3SliceV, drawTexture9Slice, drawTextureRaw2, fillEllipse, fillQuad, fillRect, fillRoundRect, getExternalShader, getLights, getPaintShaderTransform, maskInterpolatePixels, readBack, releaseReadBackBuffer, renderShape, setExternalShader, setLights, setNodeBounds, setPaintclear, draw, drawMappedTextureRaw, drawTexture, drawTextureRaw, drawTextureVO, fill, getAssociatedScreen, getCamera, getCameraNoClone, getClipRect, getClipRectIndex, getClipRectNoClone, getCompositeMode, getExtraAlpha, getFinalClipNoClone, getPaint, getPixelScaleFactor, getRenderRoot, getRenderTarget, getResourceFactory, getStroke, getTransformNoClone, hasPreCullingBits, isAlphaTestShader, isAntialiasedShape, isDepthBuffer, isDepthTest, scale, scale, setAntialiasedShape, setCamera, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setStroke, setTransform, setTransform, setTransform3D, transform, translate, translateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, draw, drawMappedTextureRaw, drawTexture, drawTextureRaw, drawTextureVO, fill, getAssociatedScreen, getCameraNoClone, getClipRect, getClipRectIndex, getClipRectNoClone, getCompositeMode, getExtraAlpha, getFinalClipNoClone, getPaint, getPixelScaleFactor, getRenderRoot, getRenderTarget, getResourceFactory, getStroke, getTransformNoClone, hasPreCullingBits, isAlphaTestShader, isAntialiasedShape, isDepthBuffer, isDepthTest, scale, scale, setAntialiasedShape, setCamera, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setStroke, setTransform, setTransform, setTransform3D, transform, translate, translateprivate DummyGraphics(DummyContext context, RenderTarget target)
static Graphics create(RenderTarget target, DummyContext ctx)
public void clearQuad(float x1,
float y1,
float x2,
float y2)
Graphicsclear() methods, this
method does not attempt to clear the depth buffer.public void clear(Color color)
GraphicsRenderTarget with the given Color.
Note that this operation is affected by the current clip rectangle,
if set. To clear the entire surface, call setClipRect(null)
prior to calling clear().public void sync()
GraphicsTexture disposal
or "return to texture cache pool" operation.public void setState3D(boolean flag)
setState3D in interface GraphicssetState3D in class BaseGraphicspublic boolean isState3D()
isState3D in interface GraphicsisState3D in class BaseGraphicspublic void setup3DRendering()
setup3DRendering in interface Graphicssetup3DRendering in class BaseShaderGraphics