Support for disposing textures.