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

@@ -317,6 +317,9 @@ namespace OpenRA.Renderer.Cg
public IIndexBuffer CreateIndexBuffer( int size ) { return new IndexBuffer( this, size ); }
public ITexture CreateTexture() { return new Texture( this ); }
public ITexture CreateTexture( Bitmap bitmap ) { return new Texture( this, bitmap ); }
public IShader CreateShader( string name ) { return new Shader( this, name ); }
public IShader CreateShader( string name ) { return new Shader( this, name ); }
public int GpuMemoryUsed { get { return 0; } }
}
}