/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h
Converts a Niagara format into a EPixelFormat, will look for fallback options if the requested format can not be satisfied based on the RequiredCapabilities. If the return value optional is invalid that means no format was found.
namespace FNiagaraUtilities { [TOptional](API\Runtime\Core\IO\TOptional)< EPixelFormat > FNiagaraUtilities::BufferFormatToPixelFormat ( [ENiagaraGpuBufferFormat](API\Plugins\Niagara\ENiagaraGpuBufferFormat) NiagaraFormat, EPixelFormatCapabilities RequiredCapabilities, int NumberOfChannels ) }