MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / writeScript

Method writeScript

OgreMain/src/OgreRenderSystemCapabilitiesSerializer.cpp:171–180  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

169
170 //-----------------------------------------------------------------------
171 void RenderSystemCapabilitiesSerializer::writeScript(const RenderSystemCapabilities* caps, const String &name, String filename)
172 {
173 using namespace std;
174
175 ofstream file(filename.c_str());
176
177 write(caps, name, file);
178
179 file.close();
180 }
181
182 //-----------------------------------------------------------------------
183 String RenderSystemCapabilitiesSerializer::writeString(const RenderSystemCapabilities* caps, const String &name)

Calls 3

writeFunction · 0.70
c_strMethod · 0.45
closeMethod · 0.45