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

Method write

Engine/source/lighting/basic/blTerrainSystem.cpp:77–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77bool blTerrainChunk::write(Stream & stream)
78{
79 if(!Parent::write(stream))
80 return(false);
81
82 if(!mLightmap)
83 return(false);
84
85 if(!mLightmap->writeBitmap("png",stream))
86 return(false);
87
88 return(true);
89}
90
91class blTerrainProxy : public SceneLighting::ObjectProxy
92{

Callers

nothing calls this directly

Calls 2

writeBitmapMethod · 0.80
writeFunction · 0.50

Tested by

no test coverage detected