CreateUniformBufferShaderDeclaration

Creates a shader code declaration of this struct for the given shader platform.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "ShaderParameters.h"

Source

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

Syntax

void CreateUniformBufferShaderDeclaration
(
    const TCHAR * Name,
    const FShaderParametersMetadata & UniformBufferStruct,
    EShaderPlatform Platform,
    FString & OutDeclaration
)

Remarks

Creates a shader code declaration of this struct for the given shader platform.

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