示例#1
0
void CBitmap::Shutdown()
{
	ReleaseTexture();
	ShutdownBuffers();

	return;
}
示例#2
0
void ModelClass::Shutdown(OpenGLClass* OpenGL)
{
	// Release the vertex and index buffers.
	ShutdownBuffers(OpenGL);

	return;
}
示例#3
0
void OrthoWindow::Shutdown()
{
	// Release the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#4
0
Model::~Model()
{
	ReleaseTexture();
	ShutdownBuffers();
	ReleaseModel();

}
示例#5
0
void ModelClass::Shutdown()
{
	// 释放顶点和索引缓冲. 
	ShutdownBuffers();

	return;
}
示例#6
0
void Water::Shutdown()
{
	// Release the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#7
0
void ModelClass::Shutdown()
{
	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#8
0
void Model::Shutdown()
{
	ReleaseTexture();	
	ShutdownBuffers();
	ReleaseModel();
	return;
}
void ModelClass::Shutdown()
{
	//정점 버퍼와 인덱스 버퍼를 해제합니다.
	ShutdownBuffers();

	return;
}
示例#10
0
	void Bitmap::Shutdown()
	{
		// Shutdown the vertex and index buffers.
		ShutdownBuffers();

		return;
	}
示例#11
0
void TerrainClass::Shutdown()
{
    // Release the vertex and index buffer.
    ShutdownBuffers();

    return;
}
void DebugWindowClass::Shutdown()
{
	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#13
0
void StaticMeshComponent::Shutdown()
{
	ReleaseTexture();
	ShutdownBuffers();
	ReleaseModel();
	return;
}
示例#14
0
void Bitmap::Shutdown()
{
	// Release the model texture.
	ReleaseTexture();

	// Shutdown the vertex and index buffers.
	ShutdownBuffers();
}
//Shutdown Particle System
void CParticleSystem::Shutdown()
{
	//Release Buffers
	ShutdownBuffers();

	//Release Particle System
	ShutdownParticleSystem();
}
示例#16
0
Bitmap::~Bitmap()
{
	if(!shared){
		ReleaseTexture();

		ShutdownBuffers();
	}
}
示例#17
0
文件: Instance.cpp 项目: Borzen/Awe
void Instance::Shutdown()
{

	// Shutdown the vertex and instance buffers.
	ShutdownBuffers();

	return;
}
示例#18
0
CTerrain::~CTerrain()
{
	if (mpTerrainTiles != nullptr)
	{
		for (int i = 0; i < mHeight; ++i)
		{
			delete[] mpTerrainTiles[i];
			logger->GetInstance().MemoryDeallocWriteLine(typeid(mpTerrainTiles[i]).name());
			mpTerrainTiles[i] = nullptr;
		}
		delete[] mpTerrainTiles;
		mpTerrainTiles = nullptr;
		logger->GetInstance().MemoryDeallocWriteLine(typeid(mpTerrainTiles).name());
	}

	// Output dealloc message to memory log.
	logger->GetInstance().MemoryDeallocWriteLine(typeid(this).name());

	if (mpPatchMap != nullptr)
	{
		mpPatchMap->Shutdown();
		delete mpPatchMap;
	}

	for (unsigned int i = 0; i < kmNumberOfTextures; i++)
	{
		mpTextures[i]->Shutdown();
		delete mpTextures[i];
	}

	delete[] mpTextures;

	for (unsigned int i = 0; i < kNumberOfGrassTextures; i++)
	{
		mpGrassTextures[i]->Shutdown();
		delete mpGrassTextures[i];
	}

	delete[] mpGrassTextures;

	for (unsigned int i = 0; i < kNumberOfRockTextures; i++)
	{
		mpRockTextures[i]->Shutdown();
		delete mpRockTextures[i];
	}
	
	if (mpWater)
	{
		mpWater->Shutdown();
		delete mpWater;
	}

	delete[] mpRockTextures;
	
	ReleaseHeightMap();

	ShutdownBuffers();
}
示例#19
0
void HexMapClass::Shutdown(){
	// Release the model texture.
	ReleaseTexture();

	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#20
0
void ModelClass::Shutdown()
{
	ReleaseTexture();

	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#21
0
void TerrainClass::Shutdown()
{
	// Release the vertex and index buffer.
	ShutdownBuffers();

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

	return;
}
示例#22
0
void ParticleSystemClass::Shutdown()
{
	ShutdownBuffers();

	ShutdownParticleSystem();

	ReleaseTexture();

	return;
}
void  ModelTriangle::Shutdown()
{
	// Release the model texture.
	ReleaseTexture();

	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
void SkeletonClass::Shutdown()
{
	// Release the vertex and index buffers.
	ShutdownBuffers();

	// Release the Skeleton data.
	ReleaseSkeleton();

	return;
}
void ParticleModel::Shutdown()
{
	// Release the buffers.
	ShutdownBuffers();

	// Release the particle system.
	ShutdownParticleSystem();

	return;
}
示例#26
0
void BitmapClass::Shutdown()
{
	// Release the bitmap texture.
	ReleaseTexture();

	// Shutdown the vertex and index buffers.
	ShutdownBuffers();

	return;
}
void Water::Shutdown()
{
	// Release the model texture.
	ReleaseTexture();

	// Release the vertex and index buffers.
	ShutdownBuffers();

	return;
}
示例#28
0
void ModelClass::Shutdown()
{
    // Release the vertex and index buffers.
    ShutdownBuffers();

    // Release the model data.
    ReleaseModel();

    return;
}
示例#29
0
void ModelClass::Shutdown()
{
	//release the model texture
	ReleaseTextures();

	//release the vertex and index buffers
	ShutdownBuffers();

	//release model data
	ReleaseModel();
}
示例#30
0
void ParticleContext::Shutdown()
{
	ShutdownBuffers();

	// Release the color shader object.
	if(m_particleShader)
	{
		m_particleShader->Shutdown();
		delete m_particleShader;
		m_particleShader = 0;
	}
}