Texturepublic class Texture extends Object
Fields Summary |
---|
private ByteBuffer | data | private int | width | private int | height |
Constructors Summary |
---|
public Texture(ByteBuffer data, int width, int height)
this.data = data;
this.width = width;
this.height = height;
|
Methods Summary |
---|
public java.nio.ByteBuffer | getData()
return data;
| public int | getHeight()
return height;
| public int | getWidth()
return width;
|
|