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

Method _getBaseTexCacheFileName

Engine/source/terrain/terrData.cpp:1148–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148String TerrainBlock::_getBaseTexCacheFileName() const
1149{
1150 Torque::Path basePath( mTerrainAsset->getTerrainFilePath() );
1151 basePath.setFileName( basePath.getFileName() + "_basetex" );
1152 basePath.setExtension( formatToExtension(mBaseTexFormat) );
1153 return basePath.getFullPath();
1154}
1155
1156void TerrainBlock::_rebuildQuadtree()
1157{

Callers 1

_setBaseTexFormatMethod · 0.80

Calls 3

getTerrainFilePathMethod · 0.80
getFileNameMethod · 0.80
setExtensionMethod · 0.45

Tested by

no test coverage detected