Hey,
I plan to use cuda in my project. To do this, I already got the ID3D11Texture2D using:
texture->Resource->TextureRHI->GetTexture2D()->GetNativeResource();
In the next step I plan to use interop to access the Texture:
cudaGraphicsResource_t resource;
cudaGraphicsD3D11RegisterResource(&resource, (ID3D11Resource*)D3D11Texture, cudaGraphicsRegisterFlagsNone);
cudaGraphicsMapResources(1, &resource);
...
But unfortunately I get the Error 11 when I use cudaGraphicsD3D11RegisterResource which means “invalid parameter” and the engine stops working after accessing the resources (cudaGraphicsMapResources)
Would be very nice if someone here could help me
Best,