PatchSpirvEntryPointWithCRC

Renames the fixed-size entry point name (which must be "main_00000000_00000000") to the formatted name including a CRC over the module.

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
const ANSICHAR * PatchSpirvEntryPointWithCRC  
(  
    [FSpirv](API\Developer\ShaderCompilerCommon\FSpirv) & Spirv,  
    uint32 & OutCRC  
)  

Remarks

Renames the fixed-size entry point name (which must be "main_00000000_00000000") to the formatted name including a CRC over the module. Returns the new entry point name.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library