| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private final MTLContext | |
| private final float | |
| private final float | |
| private final PresentableState | |
| private MTLRTTexture | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Graphics | |
| public void | |
| public Screen | |
| public int | |
| public int | |
| public int | |
| public int | |
| public MTLContext | |
| public int | |
| public int | |
| public float | |
| public float | |
| public long | |
| public boolean | |
| public boolean | |
| public boolean | lockResources(PresentableState state)
Implements com. Locks any underlying resources needed for a createGraphics/prepare/present sequence and returns a boolean indicating if the presentable needs to be recreated. |
| public boolean | prepare(Rectangle dirtyregion)
Implements com. display the indicated region to the user. |
| public boolean | |
| public void |
| h | back to summary |
|---|---|
| private int h | |
| needsResize | back to summary |
|---|---|
| private boolean needsResize | |
| pContext | back to summary |
|---|---|
| private final MTLContext pContext | |
| pixelScaleFactorX | back to summary |
|---|---|
| private final float pixelScaleFactorX | |
| pixelScaleFactorY | back to summary |
|---|---|
| private final float pixelScaleFactorY | |
| pState | back to summary |
|---|---|
| private final PresentableState pState | |
| stableBackbuffer | back to summary |
|---|---|
| private MTLRTTexture stableBackbuffer | |
| w | back to summary |
|---|---|
| private int w | |
| MTLSwapChain | back to summary |
|---|---|
| public MTLSwapChain(MTLContext context, PresentableState state) | |
| createGraphics | back to summary |
|---|---|
| public Graphics createGraphics() Implements com.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com.
| |
| getAssociatedScreen | back to summary |
|---|---|
| public Screen getAssociatedScreen() Implements com.
| |
| getContentHeight | back to summary |
|---|---|
| public int getContentHeight() Implements com.
| |
| getContentWidth | back to summary |
|---|---|
| public int getContentWidth() Implements com.
| |
| getContentX | back to summary |
|---|---|
| public int getContentX() Implements com.
| |
| getContentY | back to summary |
|---|---|
| public int getContentY() Implements com.
| |
| getContext | back to summary |
|---|---|
| public MTLContext getContext() | |
| getPhysicalHeight | back to summary |
|---|---|
| public int getPhysicalHeight() Implements com.
| |
| getPhysicalWidth | back to summary |
|---|---|
| public int getPhysicalWidth() Implements com.
| |
| getPixelScaleFactorX | back to summary |
|---|---|
| public float getPixelScaleFactorX() Implements com.
| |
| getPixelScaleFactorY | back to summary |
|---|---|
| public float getPixelScaleFactorY() Implements com.
| |
| getResourceHandle | back to summary |
|---|---|
| public long getResourceHandle() Implements com.
| |
| isMSAA | back to summary |
|---|---|
| public boolean isMSAA() Implements com.
| |
| isOpaque | back to summary |
|---|---|
| public boolean isOpaque() Implements com.
| |
| lockResources | back to summary |
|---|---|
| public boolean lockResources(PresentableState state) Implements com. Doc from com. Locks any underlying resources needed for a createGraphics/prepare/present
sequence and returns a boolean indicating if the presentable needs to be
recreated.
If the method returns true and the Presentable implements
| |
| prepare | back to summary |
|---|---|
| public boolean prepare(Rectangle dirtyregion) Implements com. Doc from com. display the indicated region to the user.
| |
| present | back to summary |
|---|---|
| public boolean present() Implements com. Doc from com. present the prepared region to the user.
| |
| setOpaque | back to summary |
|---|---|
| public void setOpaque(boolean opaque) Implements com.
| |