Stop the actual capture if there is one. Then capture every frame for a TextureRenderTarget2D. The TextureRenderTarget2D needs to be of the same size and have the same pixel format as requested by the media output.
Target is Media Capture
Select Asset
Select Asset
|
In
Exec
|
|
|
Target
Media Capture Object Reference
|
|
|
Render Target
Texture Render Target 2D Object Reference
|
|
|
Capture Options
Media Capture Options Structure
|
|
Out
Exec
|
|
|
Return Value
Boolean
|
True if the capture was successfully started |