CEGUI::IrrlichtMemoryFile Class Reference
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...
List of all members.
|
Public Member Functions |
| IrrlichtMemoryFile (const String &filename, const unsigned char *memory, uint32 size) |
virtual irr::s32 | read (void *buffer, irr::s32 sizeToRead) |
virtual bool | seek (irr::s32 finalPos, bool relativeMovement=false) |
virtual irr::s32 | getSize () |
virtual irr::s32 | getPos () |
virtual const irr::c8 * | getFileName () |
Protected Attributes |
String | d_filename |
const unsigned char * | d_buffer |
uint32 | d_size |
uint32 | d_position |
Detailed Description
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.