| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| private | ES2RTTexture(ES2Context context, ES2TextureResource<ES2RTTextureData> resource, Texture.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | attachDepthBuffer(ES2Context
current context context)Attach a depth buffer to the currently bound FBO |
| pack-priv static ES2RTTexture | |
| private void | createAndAttachMSAABuffer(ES2Context
current context context)Create and attach a color multisample render buffer to current FBO |
| public Graphics | |
| public Screen | |
| public Texture | |
| pack-priv static int | |
| public int | |
| public int[] | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | readPixels(Buffer pixels, int x, int y, int width, int height)
Implements com.
|
| public boolean | |
| 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 w, int h)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Image img, int dstx, int dsty, int w, int h, boolean skipFlush)
Overrides com. Implements com. Updates this texture using the contents of the given |
| public void | update(Buffer pixels, 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 |
| opaque | back to summary |
|---|---|
| private boolean opaque | |
| ES2RTTexture | back to summary |
|---|---|
| private ES2RTTexture(ES2Context context, ES2TextureResource<ES2RTTextureData> resource, Texture. | |
| attachDepthBuffer | back to summary |
|---|---|
| pack-priv void attachDepthBuffer(ES2Context context) Attach a depth buffer to the currently bound FBO
| |
| create | back to summary |
|---|---|
| pack-priv static ES2RTTexture create(ES2Context context, int w, int h, Texture. | |
| createAndAttachMSAABuffer | back to summary |
|---|---|
| private void createAndAttachMSAABuffer(ES2Context context) Create and attach a color multisample render buffer to current FBO
| |
| 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.
| |
| getCompatibleDimension | back to summary |
|---|---|
| pack-priv static int getCompatibleDimension(ES2Context context, int dim, Texture. | |
| getFboID | back to summary |
|---|---|
| public int getFboID() Implements com.
| |
| getPixels | back to summary |
|---|---|
| public int[] getPixels() Implements com.
| |
| 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.
| |
| readPixels | back to summary |
|---|---|
| public boolean readPixels(Buffer pixels, int x, int y, int width, int height) Implements com.
| |
| readPixels | back to summary |
|---|---|
| public boolean readPixels(Buffer pixels) Implements com.
| |
| 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 w, int h) 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 w, int h, 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 pixels, 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
| |