Navigation
API > API/Developer > API/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
&40;
const FSpirv & Spirv,
const ANSICHAR &42; EntryPointName,
uint32 & OutWordOffsetToEntryPoint,
uint32 & OutWordOffsetToMainName
&41;
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.