Свойство | Тип | Описание | |
---|---|---|---|
AlphaBitDepth | uint | ||
CompressionType | TextureCompressionType | ||
Format | BLPFormat | ||
MipMapOffsets | List |
||
MipMapSizes | List |
||
MipMapType | uint | ||
PixelFormat | BLPPixelFormat | ||
Resolution | Resolution | ||
Signature | string | ||
Version | uint |
Метод | Описание | |
---|---|---|
BLPHeader ( ) : System |
Initializes a new instance of the Warcraft.BLP.BLPHeader class. This constructor creates a template header, ready to be filled with data about a new file.
|
|
BLPHeader ( byte InData ) : System |
Initializes a new instance of the Warcraft.BLP.BLPHeader class. This constructor creates a header from input data read from a BLP file. Usually, this is 148 bytes.
|
|
GetNumMipMaps ( ) : int |
Gets the number of mipmaps defined in the header.
|
|
GetSize ( ) : uint |
Gets the size of a complete header. This is always 148 bytes, since the offset and size lists are padded.
|
|
ToByteArray ( ) : byte[] |
Gets the data in the header as a byte array, ready to be written to a file.
|
public BLPHeader ( byte InData ) : System | ||
InData | byte | Data. |
Результат | System |
public TextureCompressionType CompressionType | ||
Результат | TextureCompressionType |