Свойство | Тип | Описание | |
---|---|---|---|
Data | byte[] | ||
HasAlpha | bool | ||
Height | int | ||
TextureFormat | TextureFormat | ||
Width | int |
Метод | Описание | |
---|---|---|
GetBitmap ( ) : |
||
GetPixelSize ( TextureFormat textureFormat, int width, int height ) : uint | ||
GetRGBA ( ) : byte[] | ||
GetScrambledTextureData ( |
||
Texture ( ) : System | ||
Texture ( int width, int height, TextureFormat textureFormat, byte data ) : System |
Метод | Описание | |
---|---|---|
GetPixel ( int &ofs, decimal &adjustment ) : Color | ||
GetPlainRasterData ( |
||
GetPlainRasterData ( byte &data ) : void | ||
IsPowerOfTwo ( int x ) : bool | ||
nlpo2 ( int x ) : int |
public static GetPixelSize ( TextureFormat textureFormat, int width, int height ) : uint | ||
textureFormat | TextureFormat | |
width | int | |
height | int | |
Результат | uint |
public GetScrambledTextureData ( |
||
bmp | ||
Результат | byte[] |
public Texture ( int width, int height, TextureFormat textureFormat, byte data ) : System | ||
width | int | |
height | int | |
textureFormat | TextureFormat | |
data | byte | |
Результат | System |