Метод | Описание | |
---|---|---|
Lock ( ) : void |
Locks the texture.
|
|
Texture2D ( int width, int height ) : System |
Initializes a new Texture2D class.
|
|
Unlock ( ) : void |
Unlocks the data.
|
|
this ( int x, int y ) : Color |
Gets or sets the color of the specified texel. The texture must be locked before accessing the color data. |
Метод | Описание | |
---|---|---|
Texture2D ( ITexture texture ) : System |
Initializes a new Texture2D class.
|
public Texture2D ( int width, int height ) : System | ||
width | int | The Width. |
height | int | The Height. |
Результат | System |
public this ( int x, int y ) : Color | ||
x | int | The x offset. |
y | int | The y offset. |
Результат | Color |