void TerrainClass::Shutdown() { // Release the vertex and index buffer. ShutdownBuffers(); // Release the height map data. ShutdownHeightMap(); return; }
// Shutdown // // Tidyup pointer&new usage // void TerrainClass::Shutdown() { // Release the model texture ReleaseTexture(); // Release the vertex and index buffer ShutdownBuffers(); // Release the height map data ShutdownHeightMap(); return; }
void TerrainClass::Shutdown() { // Release the texture. ReleaseTexture(); // Release the vertex array. ShutdownBuffers(); // Release the height map data. ShutdownHeightMap(); return; }
void TerrainClass::Shutdown() { // Release the textures. ReleaseTextures(); // Release the vertex and index buffer. ShutdownBuffers(); // Release the terrain model. ReleaseTerrainModel(); // Release the height map data. ShutdownHeightMap(); return; }