| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final PixelSetter |
| Access | Constructor and Description |
|---|---|
| pack-priv | J2DTexture(BufferedImage bimg, PixelFormat format, PixelSetter<T extends Buffer> setter, Texture.
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static J2DTexture | |
| protected Texture | createSharedTexture(Texture.
the newModeWrapMode to use for the new texture.Implements abstract com. Create a new version of this texture which shares the same
|
| pack-priv BufferedImage | |
| private static Buffer | |
| private static PixelGetter | |
| public void | update(Buffer buffer, PixelFormat
the format of the data contained in the pixel buffer format, int the x-offset of the image data, in pixels, relative to the
contentX of this texture dstx, int the y-offset of the image data, in pixels, relative to the
contentY of this texture dsty, int the x-offset into the source buffer, in pixels srcx, int the y-offset into the source buffer, in pixels srcy, int the width of the pixel region from the source buffer srcw, int the height of the pixel region from the source buffer srch, int the scanline stride of the source buffer, in bytes srcscan, boolean if true, the vertex buffer will not be flushed skipFlush)Implements com. Updates this texture using the contents of the given |
| public void | update(MediaFrame
the source video buffer to update the texture data from frame, boolean if true, the vertex buffer will not be flushed skipFlush)Implements com. Updates this texture using the contents of the provided
|
| pack-priv void | updateFromBuffer(BufferedImage bimg, Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| setter | back to summary |
|---|---|
| private final PixelSetter<T extends Buffer> setter | |
| J2DTexture | back to summary |
|---|---|
| pack-priv J2DTexture(BufferedImage bimg, PixelFormat format, PixelSetter<T extends Buffer> setter, Texture. | |
| J2DTexture | back to summary |
|---|---|
| pack-priv J2DTexture(J2DTexture sharedTex, Texture. | |
| create | back to summary |
|---|---|
| pack-priv static J2DTexture create(PixelFormat format, Texture. | |
| createSharedTexture | back to summary |
|---|---|
| protected Texture createSharedTexture(Texture. Implements abstract com. Doc from com. Create a new version of this texture which shares the same
| |
| getBufferedImage | back to summary |
|---|---|
| pack-priv BufferedImage getBufferedImage() | |
| getDstBuffer | back to summary |
|---|---|
| private static Buffer getDstBuffer(BufferedImage bimg) | |
| getGetter | back to summary |
|---|---|
| private static PixelGetter | |
| 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) 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) Implements com. Doc from com. Updates this texture using the contents of the provided
| |
| updateFromBuffer | back to summary |
|---|---|
| pack-priv void updateFromBuffer(BufferedImage bimg, Buffer buffer, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| J2DTexResource | back to summary |
|---|---|
| public J2DTexResource(BufferedImage bimg) | |
| free | back to summary |
|---|---|
| public void free() Overrides com.
| |