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

Method writeText

Engine/source/materials/materialList.cpp:244–251  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

242
243//--------------------------------------
244bool MaterialList::writeText(Stream &stream)
245{
246 for(S32 i=0; i < mMaterialNames.size(); i++)
247 stream.writeLine((U8*)(mMaterialNames[i].c_str()));
248 stream.writeLine((U8*)"");
249
250 return (stream.getStatus() == Stream::Ok);
251}
252
253//--------------------------------------------------------------------------
254// 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