public interface TextureDataProvider extends DataProvider<Texture>
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
getData()
Data getter.
|
java.nio.ByteBuffer |
getSubData(int x,
int y,
int width,
int height)
Sub-data getter.
|
java.awt.Dimension |
getTextureSize()
Texture size getter.
|
addDataUser, isValid, removeDataUserjava.awt.Dimension getTextureSize()
java.nio.ByteBuffer getData()
java.nio.ByteBuffer getSubData(int x,
int y,
int width,
int height)
x - rectangle origin x-coordinate.y - rectangle origin y-coordinate.width - rectangle width.height - rectangle height.