Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon > API/Developer/ShaderCompilerCommon/FSpirvReflectBindings
References
| Module | ShaderCompilerCommon |
| Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvReflectCommon.h |
| Include | #include "SpirvReflectCommon.h" |
| Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/SpirvReflectCommon.cpp |
void AssignInputAttributeLocationsBySemanticIndex
&40;
spv_reflect::ShaderModule & SpirvReflection,
const ANSICHAR &42; SemanticName
&41;
Remarks
Assigns the binding location for all input attributes by its semantic index if their name is equal to 'SemanticName'. Used for vertex shaders where all input attributes have the "ATTRIBUTE" semantic.