FindOffsetToSpirvEntryPoint

Returns word offset to the entry point (OpEntryPoint) and name of the entry point (OpName).

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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library