FVideoEncoderInput::CreateForD3D12

TODO (M84FIX) AMF can work with this but also can handle raw D3D12 textures we should add support for that too create input for an encoder that encodes a D3D12 texture in the context of a D3D11 device (i.e. nvenc)

Windows
MacOS
Linux

References

Module

AVEncoder

Header

/Engine/Source/Runtime/AVEncoder/Public/VideoEncoderInput.h

Include

#include "VideoEncoderInput.h"

Source

/Engine/Source/Runtime/AVEncoder/Private/VideoEncoderInput.cpp

Syntax

static TSharedPtr< FVideoEncoderInput > CreateForD3D12
(
    void * InApplicationD3D12Device,
    uint32 InWidth,
    uint32 InHeight,
    bool isResizable
)

Remarks

TODO (M84FIX) AMF can work with this but also can handle raw D3D12 textures we should add support for that too create input for an encoder that encodes a D3D12 texture in the context of a D3D11 device (i.e. nvenc)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss