class D3DGraphics extends BaseShaderGraphics implements D3DContextSource
Modifier and Type | Field and Description |
---|---|
private D3DContext |
context |
IDENT, isSimpleTranslate, nodeBounds, paint, scratchEllipse, scratchLine, scratchRRect, stroke, transX, transY
Modifier | Constructor and Description |
---|---|
private |
D3DGraphics(D3DContext 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,
D3DContext context) |
D3DContext |
getContext() |
void |
getPaintShaderTransform(Affine3D ret) |
private static int |
nClear(long pContext,
int colorArgbPre,
boolean clearDepth,
boolean ignoreScissor) |
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, maskInterpolatePixels, readBack, releaseReadBackBuffer, renderShape, setExternalShader, setLights, setNodeBounds, setPaint, setup3DRendering
clear, 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, isState3D, scale, scale, setAntialiasedShape, setCamera, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setState3D, setStroke, setTransform, setTransform, setTransform3D, transform, translate, translate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, 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, isState3D, scale, scale, setAntialiasedShape, setCamera, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setState3D, setStroke, setTransform, setTransform, setTransform3D, transform, translate, translate
private D3DContext context
private D3DGraphics(D3DContext context, RenderTarget target)
public void getPaintShaderTransform(Affine3D ret)
getPaintShaderTransform
in interface ShaderGraphics
getPaintShaderTransform
in class BaseShaderGraphics
static Graphics create(RenderTarget target, D3DContext context)
public void clearQuad(float x1, float y1, float x2, float y2)
Graphics
clear()
methods, this
method does not attempt to clear the depth buffer.public void clear(Color color)
Graphics
RenderTarget
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()
Graphics
Texture
disposal
or "return to texture cache pool" operation.public D3DContext getContext()
getContext
in interface D3DContextSource
private static int nClear(long pContext, int colorArgbPre, boolean clearDepth, boolean ignoreScissor)