| Modifier and Type | Field and Description |
|---|---|
| private final ES2Context |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear(Color color)
Implements com. Clears the current |
| pack-priv static void | clearBuffers(ES2Context context, Color color, boolean clearColor, boolean clearDepth, boolean ignoreScissor)
|
| pack-priv static ES2Graphics | |
| pack-priv void | forceRenderTarget()
Called from ES2SwapChain to force the render target to be revalidated (context made current, viewport and projection matrix updated, etc) in response to a window resize event. |
| public void | scale(float sx, float sy, float sz)
Overrides com. Implements com.
|
| public void | setCamera(NGCamera camera)
Overrides com. Implements com.
|
| public void | sync()
Implements com. 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. |
| public void | transform(BaseTransform transform)
Overrides com. Implements com.
|
| public void | translate(float tx, float ty, float tz)
Overrides com. Implements com.
|
| context | back to summary |
|---|---|
| private final ES2Context context | |
| ES2Graphics | back to summary |
|---|---|
| private ES2Graphics(ES2Context context, RenderTarget target) | |
| clear | back to summary |
|---|---|
| public void clear(Color color) Implements com. Doc from com. Clears the current
| |
| clearBuffers | back to summary |
|---|---|
| pack-priv static void clearBuffers(ES2Context context, Color color, boolean clearColor, boolean clearDepth, boolean ignoreScissor) | |
| create | back to summary |
|---|---|
| pack-priv static ES2Graphics create(ES2Context context, RenderTarget target) | |
| forceRenderTarget | back to summary |
|---|---|
| pack-priv void forceRenderTarget() Called from ES2SwapChain to force the render target to be revalidated (context made current, viewport and projection matrix updated, etc) in response to a window resize event. | |
| scale | back to summary |
|---|---|
| public void scale(float sx, float sy, float sz) Overrides com. Implements com.
| |
| setCamera | back to summary |
|---|---|
| public void setCamera(NGCamera camera) Overrides com. Implements com.
| |
| sync | back to summary |
|---|---|
| public void sync() Implements com. Doc from com. 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.
This method does not (yet?) guarantee that the actual pixels in the
destination will be updated - it simply guarantees that no currently
buffered rendering will depend on any texture data included by
reference. The typical usage is before a
| |
| transform | back to summary |
|---|---|
| public void transform(BaseTransform transform) Overrides com. Implements com.
| |
| translate | back to summary |
|---|---|
| public void translate(float tx, float ty, float tz) Overrides com. Implements com.
| |