FindShaderResourceDXGIFormat

Find an appropriate DXGI format for the input format and SRGB setting.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Util.h

Include

#include "D3D12Util.h"

Syntax

DXGI_FORMAT FindShaderResourceDXGIFormat
(
    DXGI_FORMAT InFormat,
    bool bSRGB
)

Remarks

Find an appropriate DXGI format for the input format and SRGB setting.

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