| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear(Color color)
Implements com. Clears the current |
| pack-priv static MTLGraphics | |
| private static native void | |
| 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. |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| MTLGraphics | back to summary |
|---|---|
| private MTLGraphics(MTLContext context, RenderTarget target) | |
| clear | back to summary |
|---|---|
| public void clear(Color color) Implements com. Doc from com. Clears the current
| |
| create | back to summary |
|---|---|
| pack-priv static MTLGraphics create(MTLContext context, RenderTarget target) | |
| nClear | back to summary |
|---|---|
| private static native void nClear(long pContext, float red, float green, float blue, float alpha, boolean clearDepth) | |
| 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
| |