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

Method clearLightMap

Engine/source/terrain/terrData.cpp:1090–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090void TerrainBlock::clearLightMap()
1091{
1092 if ( !mLightMap )
1093 mLightMap = new GBitmap( mLightMapSize, mLightMapSize, 0, GFXFormatR8G8B8 );
1094
1095 mLightMap->fillWhite();
1096 mLightMapTex = NULL;
1097}
1098
1099GFXTextureObject* TerrainBlock::getLightMapTex()
1100{

Callers 1

lightMethod · 0.80

Calls 1

fillWhiteMethod · 0.80

Tested by

no test coverage detected