Navigation
Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon
References
Module | ShaderCompilerCommon |
Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvCommon.h |
Include | #include "SpirvCommon.h" |
Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/SpirvCommon.cpp |
void FindOffsetToSpirvEntryPoint
(
const [FSpirv](API\Developer\ShaderCompilerCommon\FSpirv) & Spirv,
const ANSICHAR * EntryPointName,
uint32 & OutWordOffsetToEntryPoint,
uint32 & OutWordOffsetToMainName
)
Remarks
Returns word offset to the entry point (OpEntryPoint) and name of the entry point (OpName). If the respective entry has not been found, the output offset is 0.