C# Class ThemeEditor.WPF.Themes.TextureViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: usagirei/3DS-Theme-Editor Class Usage Examples

Private Properties

Свойство Type Description
DecodeTexture System.Windows.Media.Imaging.BitmapSource
GeneratePalette IEnumerable
GscToAlpha byte[]

Méthodes publiques

Méthode Description
ClearTexture ( ) : void
Dispose ( ) : void
EncodeTexture ( System.Windows.Media.Imaging.BitmapSource bitmap, RawTexture targetFormat ) : void
Invalidate ( ) : void
TextureViewModel ( RawTexture model, string tag ) : System.Collections.Generic

Private Methods

Méthode Description
DecodeTexture ( RawTexture model ) : System.Windows.Media.Imaging.BitmapSource
GeneratePalette ( ) : IEnumerable
GscToAlpha ( byte rgbData ) : byte[]

Method Details

ClearTexture() public méthode

public ClearTexture ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EncodeTexture() public méthode

public EncodeTexture ( System.Windows.Media.Imaging.BitmapSource bitmap, RawTexture targetFormat ) : void
bitmap System.Windows.Media.Imaging.BitmapSource
targetFormat ThemeEditor.Common.Graphics.RawTexture
Résultat void

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

TextureViewModel() public méthode

public TextureViewModel ( RawTexture model, string tag ) : System.Collections.Generic
model ThemeEditor.Common.Graphics.RawTexture
tag string
Résultat System.Collections.Generic