C# Class CSharpImageLibrary.Headers.DDS_Header.DDS_PIXELFORMAT

Contains information about DDS Pixel Format.
Mostra file Open project: KFreon/CSharpImageLibrary Class Usage Examples

Public Methods

Method Description
DDS_PIXELFORMAT ( ImageEngineFormat surfaceFormat, List customMasks = null ) : System

Build PixelFormat sub-header for a specified surface format.

DDS_PIXELFORMAT ( byte temp ) : System

Fill PixelFormat from full DDS header

ToString ( ) : string

String representation of DDS pixel format.

Method Details

DDS_PIXELFORMAT() public method

Build PixelFormat sub-header for a specified surface format.
public DDS_PIXELFORMAT ( ImageEngineFormat surfaceFormat, List customMasks = null ) : System
surfaceFormat ImageEngineFormat Format to base PixelHeader on.
customMasks List Custom user defined masks for colours.
return System

DDS_PIXELFORMAT() public method

Fill PixelFormat from full DDS header
public DDS_PIXELFORMAT ( byte temp ) : System
temp byte Full DDS header block.
return System

ToString() public method

String representation of DDS pixel format.
public ToString ( ) : string
return string