So I’m implementing a simple cutscene using LibVLC, and I want to follow this process to render the video:
- Take the pixels LibVLC gives me.
- Put them into a texture
- Display that texture on screen.
I know a texture is a part of a render surface, and I’ve accomplished setting the texture’s pixels. Now I just need to get this texture to render directly to the screen.
I know viewports require a camera and a scene, but what if I just want to render a texture? I’ve thought about using a big sprite as a UIElement, but that seems rather hacky.