Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon
References
| Module | ShaderCompilerCommon |
| Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
| Include | #include "ShaderCompilerCommon.h" |
| Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp |
void RemoveUniformBuffersFromSource
&40;
const FShaderCompilerEnvironment & Environment,
FString & PreprocessedShaderSource
&41;
Remarks
The cross compiler doesn't yet support struct initializers needed to construct static structs for uniform buffers Replace all uniform buffer struct member references (View.WorldToClip) with a flattened name that removes the struct dependency (View_WorldToClip)