OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Class for serializing RenderSystemCapabilities to / from a .rendercaps script. More...
#include <OgreRenderSystemCapabilitiesSerializer.h>
Public Member Functions | |
RenderSystemCapabilitiesSerializer () | |
default constructor | |
void | parseScript (DataStreamPtr &stream) |
Parses a RenderSystemCapabilities script file passed as a stream. | |
void | writeScript (const RenderSystemCapabilities *caps, const String &name, const String &filename) |
Writes a RenderSystemCapabilities object to a data stream. | |
String | writeString (const RenderSystemCapabilities *caps, const String &name) |
Writes a RenderSystemCapabilities object to a string. | |
Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
Ogre::RenderSystemCapabilitiesSerializer::RenderSystemCapabilitiesSerializer | ( | ) |
default constructor
void Ogre::RenderSystemCapabilitiesSerializer::writeScript | ( | const RenderSystemCapabilities * | caps, |
const String & | name, | ||
const String & | filename | ||
) |
Writes a RenderSystemCapabilities object to a data stream.
String Ogre::RenderSystemCapabilitiesSerializer::writeString | ( | const RenderSystemCapabilities * | caps, |
const String & | name | ||
) |
Writes a RenderSystemCapabilities object to a string.
void Ogre::RenderSystemCapabilitiesSerializer::parseScript | ( | DataStreamPtr & | stream | ) |
Parses a RenderSystemCapabilities script file passed as a stream.
Adds it to RenderSystemCapabilitiesManager::_addRenderSystemCapabilities