C# Class CrystalMpq.DataFormats.DxtSurface

Inheritance: Surface
ファイルを表示 Open project: sgraf812/crystalmpq

Protected Properties

Property Type Description
data byte[]

Public Methods

Method 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[]

Protected Methods

Method Description
LockInternal ( int &stride ) : IntPtr
UnlockInternal ( ) : void

Private Methods

Method 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 method

public Clone ( ) : object
return object

CreateStream() public method

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

LockInternal() protected method

protected LockInternal ( int &stride ) : IntPtr
stride int
return System.IntPtr

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

UnlockInternal() protected method

protected UnlockInternal ( ) : void
return void

Property Details

data protected_oe property

protected byte[] data
return byte[]