Modified LptaTextureManager to become a dll returnable object.