Iv’e tried calling the “FRHITexture2D” constructor but when I try to get its native handle via: “GetNativeResource()”, it just returns NULL.
FYI I’m doing this on the RenderThread.
Creating the texture like so:
auto binding = FClearValueBinding();
ZeroMemory(&binding, sizeof(FClearValueBinding));
otherTexture = new FRHITexture2D(SrcTexture->GetSizeX(), SrcTexture->GetSizeY(), 1, 1, EPixelFormat::PF_B8G8R8A8, 0, binding);