As far as I am aware you can’t do the above, you would need to use the new hardware acceleration api, this may help