C# Class Axiom.Plugins.DevILCodecs.ILImageCodec

Codec specialized in images loaded using DevIL.
The users implementing subclasses of ImageCodec are required to return a valid pointer to a ImageData class from the decode(...) function.
Inheritance: Axiom.Media.ImageCodec
Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
isInitialized bool

Public Methods

Method Description
Decode ( Stream input, Stream output ) : object
EncodeToFile ( Stream input, string fileName, object codecData ) : void
ILImageCodec ( ) : System
InitializeIL ( ) : void

One time DevIL initialization.

Method Details

Decode() public method

public Decode ( Stream input, Stream output ) : object
input Stream
output Stream
return object

EncodeToFile() public method

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

ILImageCodec() public method

public ILImageCodec ( ) : System
return System

InitializeIL() public method

One time DevIL initialization.
public InitializeIL ( ) : void
return void

Property Details

isInitialized protected_oe static_oe property

Flag used to ensure DevIL gets initialized once.
protected static bool isInitialized
return bool