FShaderConductorContext::CompileHlslToSpirv

Compiles the specified HLSL shader source code to SPIR-V.

Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon > FShaderConductorContext

References

   
Module ShaderCompilerCommon
Header /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h
Include #include "ShaderConductorContext.h"
Source /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderConductorContext.cpp
bool CompileHlslToSpirv
(
    const [FShaderConductorOptions](API\Developer\ShaderCompilerCommon\FShaderConductorOptions) & Options,
    [TArray](API\Runtime\Core\Containers\TArray)< uint32 > & OutSpirv
)

Remarks

Compiles the specified HLSL shader source code to SPIR-V.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library