Свойство | Type | Description | |
---|---|---|---|
dataCodec | VrDataCodec | ||
decodedBitmap | Bitmap | ||
decodedData | byte[] | ||
globalIndex | uint | ||
hasGlobalIndex | bool | ||
initalized | bool | ||
paletteEncoder | VpPaletteEncoder | ||
pixelCodec | VrPixelCodec | ||
textureHeight | ushort | ||
texturePalette | byte[][] | ||
textureWidth | ushort |
Méthode | Description | |
---|---|---|
Save ( Stream destination ) : void |
Saves the encoded texture to the specified stream.
|
|
Save ( string path ) : void |
Saves the encoded texture to the specified path.
|
|
ToArray ( ) : byte[] |
Returns the encoded texture as a byte array.
|
|
ToStream ( ) : MemoryStream |
Returns the encoded texture as a stream.
|
|
VrTextureEncoder ( Bitmap source ) : System | ||
VrTextureEncoder ( Stream source ) : System | ||
VrTextureEncoder ( Stream source, int length ) : System | ||
VrTextureEncoder ( byte source ) : System | ||
VrTextureEncoder ( byte source, int offset, int length ) : System | ||
VrTextureEncoder ( string file ) : System |
Méthode | Description | |
---|---|---|
BitmapToRaw ( |
||
BitmapToRawIndexed ( |
||
BitmapToRawResized ( |
||
EncodeTexture ( ) : |
Méthode | Description | |
---|---|---|
HasValidDimensions ( int width, int height ) : bool | ||
Initalize ( Bitmap source ) : void |
protected BitmapToRaw ( |
||
source | ||
Résultat | byte[] |
protected BitmapToRawIndexed ( |
||
source | ||
maxColors | int | |
palette | byte | |
Résultat | byte[] |
protected BitmapToRawResized ( |
||
source | ||
size | int | |
minSize | int | |
Résultat | byte[] |
protected abstract EncodeTexture ( ) : |
||
Résultat |
public Save ( Stream destination ) : void | ||
destination | Stream | The stream to save the texture to. |
Résultat | void |
public Save ( string path ) : void | ||
path | string | Name of the file to save the data to. |
Résultat | void |
public VrTextureEncoder ( Bitmap source ) : System | ||
source | Bitmap | |
Résultat | System |
public VrTextureEncoder ( Stream source ) : System | ||
source | Stream | |
Résultat | System |
public VrTextureEncoder ( Stream source, int length ) : System | ||
source | Stream | |
length | int | |
Résultat | System |
public VrTextureEncoder ( byte source ) : System | ||
source | byte | |
Résultat | System |
public VrTextureEncoder ( byte source, int offset, int length ) : System | ||
source | byte | |
offset | int | |
length | int | |
Résultat | System |
public VrTextureEncoder ( string file ) : System | ||
file | string | |
Résultat | System |
protected VpPaletteEncoder paletteEncoder | ||
Résultat | VpPaletteEncoder |