C# 클래스 SixLabors.ImageSharp.Textures.Formats.Ktx.KtxDecoderCore

Performs the ktx decoding operation.
파일 보기 프로젝트 열기: SixLabors/ImageSharp.Textures

공개 메소드들

메소드 설명
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