Esempio n. 1
0
/*
	createTextureManager - This method constructs a technology-specific
	TextureManager. Since this DirectXGraphics class uses the DirectX
	library, this method creates a DirectXTextureManager.
*/
TextureManager* DirectXGraphics::createTextureManager()
{
	TextureManager *textureManager = (TextureManager*)(new DirectXTextureManager());
	textureManager->setGraphics(this);
	return textureManager;
}