Пример #1
0
void TerrainClass::Shutdown()
{
	// Release the vertex and index buffer.
	ShutdownBuffers();

	// Release the height map data.
	ShutdownHeightMap();

	return;
}
Пример #2
0
// 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;
}
Пример #3
0
void TerrainClass::Shutdown()
{
	// Release the texture.
	ReleaseTexture();

	// Release the vertex array.
	ShutdownBuffers();

	// Release the height map data.
	ShutdownHeightMap();

	return;
}
Пример #4
0
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;
}