Свойство | Type | Description | |
---|---|---|---|
dwCaps2 | int | ||
dwCaps3 | int | ||
dwCaps4 | int | ||
dwReserved1 | int[] | ||
dwReserved2 | int |
Méthode | Description | |
---|---|---|
DDS_Header ( Stream stream ) : System |
Read Header from DDS Image.
|
|
DDS_Header ( int Mips, int Height, int Width, ImageEngineFormat surfaceformat, List |
Creates a DDS header from a set of information.
|
|
DetermineDDSSurfaceFormat ( |
Determines DDS Surface Format given the header.
|
|
WriteToArray ( byte destination, int index ) : void |
Writes header to destination array starting at index.
|
Méthode | Description | |
---|---|---|
Load ( Stream stream ) : long |
Reads DDS header from stream.
|
Méthode | Description | |
---|---|---|
CheckIdentifier ( byte IDBlock ) : bool | ||
DDS_FlagStringify ( |
||
ParseFormatToFourCC ( ImageEngineFormat format ) : FourCC | ||
ParseFourCC ( FourCC fourCC, DXGI_FORMAT additionalDX10 = DXGI_FORMAT.DXGI_FORMAT_UNKNOWN ) : ImageEngineFormat |
Determines friendly format from FourCC, with additional DXGI/DX10 format.
|
public DDS_Header ( Stream stream ) : System | ||
stream | Stream | Fully formatted DDS image. |
Résultat | System |
public DDS_Header ( int Mips, int Height, int Width, ImageEngineFormat surfaceformat, List |
||
Mips | int | Number of mipmaps. |
Height | int | Height of top mipmap. |
Width | int | Width of top mipmap. |
surfaceformat | ImageEngineFormat | Format header represents. |
customMasks | List |
Custom user defined masks for colours. |
Résultat | System |
public static DetermineDDSSurfaceFormat ( |
||
ddspf | DDS PixelFormat structure. | |
Résultat | ImageEngineFormat |
protected Load ( Stream stream ) : long | ||
stream | Stream | Fully formatted DDS image. |
Résultat | long |
public WriteToArray ( byte destination, int index ) : void | ||
destination | byte | Array to write header to. |
index | int | Index in destination to start writing at. |
Résultat | void |