From what I understand, you have a Metal texture handle, and you want to use the contents of that as an image texture in EEVEE as efficiently as possible?
EEVEE also has an underlying Metal texture, wrapped in a GPUTexture
. So I guess you’d want either:
- Access to EEVEE’s Metal texture handle so you can do the copy yourself with the Metal API.
- Ability to wrap your Metal texture handle in a
GPUTexture
, and some API function to copy data between twoGPUTexture
instances.