C# Класс Axiom.RenderSystems.Xna.XnaCodec

Наследование: Axiom.Media.ImageCodec
Показать файл Открыть проект

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

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