C# Class CrystalMpq.DataFormats.DxtSurface

Inheritance: Surface
Afficher le fichier Open project: sgraf812/crystalmpq

Protected Properties

Свойство Type Description
data byte[]

Méthodes publiques

Méthode Description
Clone ( ) : object
CreateStream ( ) : Stream

Creates a stream for accessing the surface data.

The returned stream can be used for reading or modifying the surface data.

ToArray ( ) : byte[]

Méthodes protégées

Méthode Description
LockInternal ( int &stride ) : IntPtr
UnlockInternal ( ) : void

Private Methods

Méthode Description
DxtSurface ( byte rawData, int width, int height, byte alphaBitCount, bool alphaPremultiplied = false ) : System
DxtSurface ( byte rawData, int width, int height, byte alphaBitCount, bool alphaPremultiplied = false, bool shareBuffer = false ) : System
DxtSurface ( int width, int height, byte alphaBitCount, bool alphaPremultiplied = false ) : System

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

CreateStream() public méthode

Creates a stream for accessing the surface data.
The returned stream can be used for reading or modifying the surface data.
public CreateStream ( ) : Stream
Résultat Stream

LockInternal() protected méthode

protected LockInternal ( int &stride ) : IntPtr
stride int
Résultat System.IntPtr

ToArray() public méthode

public ToArray ( ) : byte[]
Résultat byte[]

UnlockInternal() protected méthode

protected UnlockInternal ( ) : void
Résultat void

Property Details

data protected_oe property

protected byte[] data
Résultat byte[]