I’m trying to replace a single line of code from Unity:
This proves to be a huge headache in Unreal. The problem is that I have a library that is decoding a video directly onto the GPU. I have all the data I need, but at the game level there is no way to take a UTexture2D and tell it to directly use a texture in the GPU. I get that I’m probably going to have to write something fairly platform specific, but I only need x64 D3D11 at this point.
Does anyone have any suggestions on where to start with this? How can I take the shader resource view and apply it to a texture in game?