Crazy Eddie's GUI System
0.8.4
|
Class to wrap a file access interface around a memory buffer to enable us to pass data that has been loaded via the CEGUI::ResourceProvider to irrlicht, via it's IReadFile based interfaces. More...
Public Member Functions | |
IrrlichtMemoryFile (const String &filename, const unsigned char *memory, uint32 size) | |
irr::s32 | read (void *buffer, irr::u32 sizeToRead) |
long | getSize () const |
long | getPos () const |
bool | seek (long finalPos, bool relativeMovement=false) |
const irr::c8 * | getFileName () const |
Protected Attributes | |
String | d_filename |
const unsigned char * | d_buffer |
uint32 | d_size |
uint32 | d_position |
Class to wrap a file access interface around a memory buffer to enable us to pass data that has been loaded via the CEGUI::ResourceProvider to irrlicht, via it's IReadFile based interfaces.