MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / writeText

Method writeText

Engine/source/materials/materialList.cpp:254–261  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

252
253//--------------------------------------
254bool MaterialList::writeText(Stream &stream)
255{
256 for(S32 i=0; i < mMaterialNames.size(); i++)
257 stream.writeLine((U8*)(mMaterialNames[i].c_str()));
258 stream.writeLine((U8*)"");
259
260 return (stream.getStatus() == Stream::Ok);
261}
262
263//--------------------------------------------------------------------------
264// Clear all materials in the mMatInstList member variable

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.45
writeLineMethod · 0.45
c_strMethod · 0.45
getStatusMethod · 0.45

Tested by

no test coverage detected