int GetUnit(TextureType texture, int current_unit)
Returns the unit associated with the data pointer.
TextureType GetTexture(int unit) const
Returns the data at index unit.
TextureManager(int max_texture_units)
A TextureManager must be initialized with a size of at least 1.
void SetUnitRange(const math::Range1i &units)
Sets the inclusive range of units that the TextureManager uses.
~TextureManager() override
TextureManager is an internal Ion class, and is not exported for public use.
int GetFrontIndex() const
Returns the front unit.