report memory usage for textures

This commit is contained in:
Chris Forbes
2011-02-23 07:32:56 +13:00
parent a8d849a1cb
commit ad2ae8b763
5 changed files with 42 additions and 10 deletions

View File

@@ -35,7 +35,8 @@ namespace OpenRA.FileFormats.Graphics
ITexture CreateTexture();
IShader CreateShader( string name );
Size WindowSize { get; }
Size WindowSize { get; }
int GpuMemoryUsed { get; }
void Clear( Color color );
void Present( IInputHandler inputHandler );