C# Class UpkManager.Dds.DdsFile

Mostra file Open project: stricq/UPKManager Class Usage Examples

Public Methods

Method Description
DdsFile ( ) : System
DdsFile ( Stream stream ) : System
DdsFile ( string filename ) : System
GenerateMipMaps ( int minMipWidth = 1, int minMipHeight = 1 ) : void
Load ( Stream input ) : void
Load ( string filename ) : void
Save ( Stream output, DdsSaveConfig saveConfig ) : void
WriteMipMap ( DdsMipMap mipMap, DdsSaveConfig saveConfig ) : byte[]

Method Details

DdsFile() public method

public DdsFile ( ) : System
return System

DdsFile() public method

public DdsFile ( Stream stream ) : System
stream Stream
return System

DdsFile() public method

public DdsFile ( string filename ) : System
filename string
return System

GenerateMipMaps() public method

public GenerateMipMaps ( int minMipWidth = 1, int minMipHeight = 1 ) : void
minMipWidth int
minMipHeight int
return void

Load() public method

public Load ( Stream input ) : void
input Stream
return void

Load() public method

public Load ( string filename ) : void
filename string
return void

Save() public method

public Save ( Stream output, DdsSaveConfig saveConfig ) : void
output Stream
saveConfig DdsSaveConfig
return void

WriteMipMap() public method

public WriteMipMap ( DdsMipMap mipMap, DdsSaveConfig saveConfig ) : byte[]
mipMap DdsMipMap
saveConfig DdsSaveConfig
return byte[]