| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final long | |
| private boolean | |
| private final int[] | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | MTLRTTexture(MTLContext context, MTLTextureResource<MTLTextureData> resource, Texture.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MTLRTTexture | create(MTLContext context, int physicalWidth, int physicalHeight, int contentWidth, int contentHeight, Texture.
|
| pack-priv static MTLRTTexture | |
| public Graphics | |
| public Screen | |
| public Texture | |
| public long | |
| public int[] | |
| public Texture | getSharedTexture(Texture.
Overrides com. Implements com. Constructs an alternate version of this |
| public boolean | getUseMipmap()
Overrides com. Implements com. Returns the true if mipmapping is used for this texture. |
| public boolean | |
| public boolean | |
| public boolean | |
| private static native long | |
| private static native long | |
| private static native long | |
| private static native void | |
| private static native void | |
| private static native void | |
| public boolean | |
| public boolean | readPixels(Buffer pixels, int x, int y, int width, int height)
Implements com.
|
| public void | setContentHeight(int contentHeight)
Overrides com. Implements com. Allows the content height, which is the current height of the actual content in pixels, to be adjusted. |
| public void | setContentWidth(int contentWidth)
Overrides com. Implements com. Allows the content width, which is the current width of the actual content in pixels, to be adjusted. |
| public void | |
| public void | update(Image img)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Image img, int dstx, int dsty)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Image img, int dstx, int dsty, int srcw, int srch)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Image img, int dstx, int dsty, int srcw, int srch, boolean skipFlush)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(MediaFrame frame, boolean skipFlush)
Overrides com. Implements com. Updates this texture using the contents of the provided
|
| MSAA | back to summary |
|---|---|
| private final boolean MSAA | |
| nTexPtr | back to summary |
|---|---|
| private final long nTexPtr | |
| opaque | back to summary |
|---|---|
| private boolean opaque | |
| pixels | back to summary |
|---|---|
| private final int[] pixels | |
| rttHeight | back to summary |
|---|---|
| private final int rttHeight | |
| rttWidth | back to summary |
|---|---|
| private final int rttWidth | |
| MTLRTTexture | back to summary |
|---|---|
| private MTLRTTexture(MTLContext context, MTLTextureResource<MTLTextureData> resource, Texture. | |
| create | back to summary |
|---|---|
| pack-priv static MTLRTTexture create(MTLContext context, int physicalWidth, int physicalHeight, int contentWidth, int contentHeight, Texture. | |
| create | back to summary |
|---|---|
| pack-priv static MTLRTTexture create(MTLContext context, long pTex, int width, int height, long size) | |
| createGraphics | back to summary |
|---|---|
| public Graphics createGraphics() Implements com.
| |
| getAssociatedScreen | back to summary |
|---|---|
| public Screen getAssociatedScreen() Implements com.
| |
| getBackBuffer | back to summary |
|---|---|
| public Texture getBackBuffer() Implements com.
| |
| getNativeHandle | back to summary |
|---|---|
| public long getNativeHandle() Overrides com.
| |
| getPixels | back to summary |
|---|---|
| public int[] getPixels() Implements com.
| |
| getSharedTexture | back to summary |
|---|---|
| public Texture getSharedTexture(Texture. Overrides com. Implements com. Doc from com. Constructs an alternate version of this
| |
| getUseMipmap | back to summary |
|---|---|
| public boolean getUseMipmap() Overrides com. Implements com. Doc from com. Returns the true if mipmapping is used for this texture.
| |
| isMSAA | back to summary |
|---|---|
| public boolean isMSAA() Implements com.
| |
| isOpaque | back to summary |
|---|---|
| public boolean isOpaque() Implements com.
| |
| isVolatile | back to summary |
|---|---|
| public boolean isVolatile() Implements com.
| |
| nCreateRT | back to summary |
|---|---|
| private static native long nCreateRT(long context, int pw, int ph, int cw, int ch, Texture. | |
| nCreateRT2 | back to summary |
|---|---|
| private static native long nCreateRT2(long context, long pTex, int pw, int ph) | |
| nGetPixelDataPtr | back to summary |
|---|---|
| private static native long nGetPixelDataPtr(long nativeHandle) | |
| nInitRTT | back to summary |
|---|---|
| private static native void nInitRTT(long pTex, int[] pix) | |
| nReadPixels | back to summary |
|---|---|
| private static native void nReadPixels(long nativeHandle, int[] pixBuffer) | |
| nReadPixelsFromRTT | back to summary |
|---|---|
| private static native void nReadPixelsFromRTT(long nativeHandle, IntBuffer pixBuffer) | |
| readPixels | back to summary |
|---|---|
| public boolean readPixels(Buffer pix) Implements com.
| |
| readPixels | back to summary |
|---|---|
| public boolean readPixels(Buffer pixels, int x, int y, int width, int height) Implements com.
| |
| setContentHeight | back to summary |
|---|---|
| public void setContentHeight(int contentHeight) Overrides com. Implements com. Doc from com. Allows the content height, which is the current height of the actual content in pixels, to be adjusted. The height must be between 0 and maxContentHeight . *
| |
| setContentWidth | back to summary |
|---|---|
| public void setContentWidth(int contentWidth) Overrides com. Implements com. Doc from com. Allows the content width, which is the current width of the actual content in pixels, to be adjusted. The height must be between 0 and maxContentHeight
| |
| setOpaque | back to summary |
|---|---|
| public void setOpaque(boolean opaque) Implements com.
| |
| update | back to summary |
|---|---|
| public void update(Image img) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the given
This is equivalent to calling:
| |
| update | back to summary |
|---|---|
| public void update(Image img, int dstx, int dsty) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the given
This is equivalent to calling:
| |
| update | back to summary |
|---|---|
| public void update(Image img, int dstx, int dsty, int srcw, int srch) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the given
This is equivalent to calling:
| |
| update | back to summary |
|---|---|
| public void update(Image img, int dstx, int dsty, int srcw, int srch, boolean skipFlush) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the given
This is equivalent to calling:
| |
| update | back to summary |
|---|---|
| public void update(Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the given
| |
| update | back to summary |
|---|---|
| public void update(MediaFrame frame, boolean skipFlush) Overrides com. Implements com. Doc from com. Updates this texture using the contents of the provided
| |