C# Класс SixLabors.ImageSharp.Textures.Formats.Ktx.KtxDecoderCore

Performs the ktx decoding operation.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ReadFileHeader ( Stream stream ) : void

Reads the dds file header from the stream.

Описание методов

DecodeTexture() публичный Метод

Decodes the texture from the specified stream.
public DecodeTexture ( Stream stream ) : Texture
stream Stream The stream, where the texture should be decoded from. Cannot be null.
Результат Texture

Identify() публичный Метод

Reads the raw texture information from the specified stream.
public Identify ( Stream currentStream ) : ITextureInfo
currentStream Stream The containing texture data.
Результат ITextureInfo

KtxDecoderCore() публичный Метод

Initializes a new instance of the KtxDecoderCore class.
public KtxDecoderCore ( Configuration configuration, IKtxDecoderOptions options ) : System.IO
configuration Configuration The configuration.
options IKtxDecoderOptions The options.
Результат System.IO