C# Class UpkManager.Dds.DdsHeader

显示文件 Open project: stricq/UPKManager Class Usage Examples

Public Methods

Method Description
DdsHeader ( DdsSaveConfig config, int width, int height ) : System.Diagnostics.CodeAnalysis
Read ( BinaryReader reader ) : void
Write ( BinaryWriter writer ) : void

Private Methods

Method Description
CountMipMaps ( int width, int height ) : int
DdsHeader ( ) : System.Diagnostics.CodeAnalysis

Method Details

DdsHeader() public method

public DdsHeader ( DdsSaveConfig config, int width, int height ) : System.Diagnostics.CodeAnalysis
config DdsSaveConfig
width int
height int
return System.Diagnostics.CodeAnalysis

Read() public method

public Read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

Write() public method

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void