FShaderType::AddReferencedUniformBufferIncludes

Adds include statements for uniform buffers that this shader type references, and builds a prefix for the shader file with the include statements.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/Shader.h

Include

#include "Shader.h"

Source

/Engine/Source/Runtime/RenderCore/Private/ShaderParameters.cpp

Syntax

void AddReferencedUniformBufferIncludes
(
    FShaderCompilerEnvironment & OutEnvironment,
    FString & OutSourceFilePrefix,
    EShaderPlatform Platform
)

Remarks

Adds include statements for uniform buffers that this shader type references, and builds a prefix for the shader file with the include statements.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss