Свойство | Тип | Описание | |
---|---|---|---|
dwCaps2 | int | ||
dwCaps3 | int | ||
dwCaps4 | int | ||
dwReserved1 | int[] | ||
dwReserved2 | int |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
Load ( Stream stream ) : long |
Reads DDS header from stream.
|
Метод | Описание | |
---|---|---|
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. |
Результат | 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. |
Результат | System |
public static DetermineDDSSurfaceFormat ( |
||
ddspf | DDS PixelFormat structure. | |
Результат | ImageEngineFormat |
protected Load ( Stream stream ) : long | ||
stream | Stream | Fully formatted DDS image. |
Результат | long |
public WriteToArray ( byte destination, int index ) : void | ||
destination | byte | Array to write header to. |
index | int | Index in destination to start writing at. |
Результат | void |