C# Class Axiom.RenderSystems.Xna.XnaCodec

Inheritance: Axiom.Media.ImageCodec
Afficher le fichier Open project: WolfgangSt/axiom

Méthodes publiques

Méthode Description
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

Method Details

Decode() public méthode

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).
Résultat object

Encode() public méthode

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).
Résultat void

EncodeToFile() public méthode

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.
Résultat void

XnaCodec() public méthode

public XnaCodec ( string extension ) : System
extension string
Résultat System