Method | Description | |
---|---|---|
DecodeTexture ( Stream stream ) : Texture |
Decodes the texture from the specified stream.
|
|
Identify ( Stream currentStream ) : ITextureInfo |
Reads the raw texture information from the specified stream.
|
|
KtxDecoderCore ( Configuration configuration, IKtxDecoderOptions options ) : System.IO |
Initializes a new instance of the KtxDecoderCore class.
|
Method | Description | |
---|---|---|
ReadFileHeader ( Stream stream ) : void |
Reads the dds file header from the stream.
|
public DecodeTexture ( Stream stream ) : Texture | ||
stream | Stream | The stream, where the texture should be decoded from. Cannot be null. |
return | Texture |
public Identify ( Stream currentStream ) : ITextureInfo | ||
currentStream | Stream | The |
return | ITextureInfo |
public KtxDecoderCore ( Configuration configuration, IKtxDecoderOptions options ) : System.IO | ||
configuration | Configuration | The configuration. |
options | IKtxDecoderOptions | The options. |
return | System.IO |