This class is used to gather statistics on texture memory usage, etc. More...
#include "textureMemoryCounter.h"
List of all members.
This class is used to gather statistics on texture memory usage, etc.
It adds up the total texture memory required by a number of image files, and reports it at the end.
Definition at line 36 of file textureMemoryCounter.h.
Adds the indicated TexturePlacement to the counter.
Definition at line 61 of file textureMemoryCounter.cxx.
References TexturePlacement::get_dest(), TexturePlacement::get_image(), TexturePlacement::get_omit_reason(), TexturePlacement::get_placed_x_size(), TexturePlacement::get_placed_y_size(), and TexturePlacement::get_texture().
Reports the measured texture memory usage.
Definition at line 93 of file textureMemoryCounter.cxx.
Resets the count to zero.
Definition at line 41 of file textureMemoryCounter.cxx.