Свойство | Type | Description | |
---|---|---|---|
decodedPalette | byte[][] | ||
paletteEntries | ushort | ||
pixelCodec | VrSharp.VrPixelCodec |
Méthode | Description | |
---|---|---|
Save ( Stream destination ) : void |
Saves the encoded palette to the specified stream.
|
|
Save ( string path ) : void |
Saves the encoded palette to the specified path.
|
|
ToArray ( ) : byte[] |
Returns the encoded palette as a byte array.
|
|
ToStream ( ) : |
Returns the encoded palette as a stream.
|
Méthode | Description | |
---|---|---|
EncodePalette ( ) : |
Méthode | Description | |
---|---|---|
VpPaletteEncoder ( byte palette, ushort numColors, VrSharp.VrPixelCodec pixelCodec ) : System |
protected abstract EncodePalette ( ) : |
||
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 |