public class ES2Graphics extends BaseShaderGraphics
IDENT, isSimpleTranslate, nodeBounds, paint, scratchEllipse, scratchLine, scratchRRect, stroke, transX, transY
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.
|
void |
scale(float sx,
float sy,
float sz) |
void |
setCamera(NGCamera camera) |
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.
|
void |
transform(BaseTransform transform) |
void |
translate(float tx,
float ty,
float tz) |
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, 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, setAntialiasedShape, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setState3D, setStroke, setTransform, setTransform, setTransform3D, 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, setAntialiasedShape, setClipRect, setClipRectIndex, setCompositeMode, setDepthBuffer, setDepthTest, setExtraAlpha, setHasPreCullingBits, setPerspectiveTransform, setPixelScaleFactor, setRenderRoot, setState3D, setStroke, setTransform, setTransform, setTransform3D, translate
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 void transform(BaseTransform transform)
transform
in interface Graphics
transform
in class BaseGraphics
public void translate(float tx, float ty, float tz)
translate
in interface Graphics
translate
in class BaseGraphics
public void scale(float sx, float sy, float sz)
scale
in interface Graphics
scale
in class BaseGraphics
public void setCamera(NGCamera camera)
setCamera
in interface Graphics
setCamera
in class BaseGraphics
Copyright © 2020. All rights reserved.