Helper class that creates textures on demand