Texture and texture resource manager