CTextureManager as texture factory