Added support for obtaining the estimated memory usage of a Mirage.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2174 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-01-17 02:30:21 +00:00
parent 34144c86de
commit 6f7ad6a09f
4 changed files with 28 additions and 4 deletions
@@ -1,5 +1,5 @@
//
// $Id: Mirage.java,v 1.1 2003/01/13 22:49:46 mdb Exp $
// $Id: Mirage.java,v 1.2 2003/01/17 02:30:21 mdb Exp $
package com.threerings.media.image;
@@ -40,4 +40,10 @@ public interface Mirage
* should <em>not</em> be modified by the caller.
*/
public BufferedImage getSnapshot ();
/**
* Returns an estimate of the memory consumed by this mirage's image
* raster data.
*/
public long getEstimatedMemoryUsage ();
}