ConvertFromFP32ToFP16

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/HlslUtils.cpp

Syntax

bool ConvertFromFP32ToFP16
(
    FString & InOutSourceCode,
    TArray< FString > & OutErrors
)