C# 클래스 Axiom.RenderSystems.Xna.XnaCodec

상속: Axiom.Media.ImageCodec
파일 보기 프로젝트 열기: WolfgangSt/axiom

공개 메소드들

메소드 설명
Decode ( Stream input, Stream output ) : object

Codes the data from the input chunk into the output chunk.

Encode ( Stream input, Stream output ) : void

Encodes the data in the input stream and saves the result in the output stream.

EncodeToFile ( Stream input, string fileName, object codecData ) : void

Encodes data to a file.

XnaCodec ( string extension ) : System

메소드 상세

Decode() 공개 메소드

Codes the data from the input chunk into the output chunk.
public Decode ( Stream input, Stream output ) : object
input Stream Input stream (encoded data).
output Stream Output stream (decoded data).
리턴 object

Encode() 공개 메소드

Encodes the data in the input stream and saves the result in the output stream.
public Encode ( Stream input, Stream output ) : void
input Stream Input stream (decoded data).
output Stream Output stream (encoded data).
리턴 void

EncodeToFile() 공개 메소드

Encodes data to a file.
public EncodeToFile ( Stream input, string fileName, object codecData ) : void
input Stream Stream containing data to write.
fileName string Filename to output to.
codecData object Extra data to use in order to describe the codec data.
리턴 void

XnaCodec() 공개 메소드

public XnaCodec ( string extension ) : System
extension string
리턴 System