Torque3D Documentation / _generateds / GBitmap::Registration

GBitmap::Registration

Engine/source/gfx/bitmap/gBitmap.h

More...

Public Types

bool(*
ReadFunc )(Stream &stream, GBitmap *bitmap)

The read function prototype.

bool(*
WriteFunc )(GBitmap *bitmap, Stream &stream, U32 compressionLevel)

The write function prototype. Compression levels are image-specific - see their registration declaration for details.

Public Attributes

the default compression level [levels are image-specific - see their registration declaration for details]

the list of file extensions for this bitmap type [these should be lower case]

Used to sort the registrations so that lookups occur in a fixed order.

the read function to call for this bitmap type

the write function to call for this bitmap type

Public Functions

Detailed Description

Public Types

typedef bool(* ReadFunc )(Stream &stream, GBitmap *bitmap)

The read function prototype.

typedef bool(* WriteFunc )(GBitmap *bitmap, Stream &stream, U32 compressionLevel)

The write function prototype. Compression levels are image-specific - see their registration declaration for details.

Public Attributes

U32 defaultCompression 

the default compression level [levels are image-specific - see their registration declaration for details]

Vector< String > extensions 

the list of file extensions for this bitmap type [these should be lower case]

U32 priority 

Used to sort the registrations so that lookups occur in a fixed order.

ReadFunc readFunc 

the read function to call for this bitmap type

WriteFunc writeFunc 

the write function to call for this bitmap type

Public Functions

Registration()