added more API docs to the 'fromTexture' method