Method | Description | |
---|---|---|
Texture ( int width, int height, byte bytes ) : System |
Creates a new instance of this class.
|
public Texture ( int width, int height, byte bytes ) : System | ||
width | int | The width of the texture in pixels. |
height | int | The height of the texture in pixels. |
bytes | byte | The RGBA texture data. Pixels are stored row-based from top to bottom, and within a row from left to right. All pixels take four bytes in the order red, green, blue, alpha. |
return | System |