FShaderMapBase::AssociateWithAsset

Associates a shadermap with an asset ( one shadermap can be used by several assets, e.g. MIs).

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Syntax

void AssociateWithAsset
(
    const FName & AssetPath
)

Remarks

Associates a shadermap with an asset (

one shadermap can be used by several assets, e.g. MIs). This helps cooker lay out the shadermaps (and shaders) in the file open order, if provided. Maps not associated with any assets may be placed after all maps associated with known assets. Global shadermaps need to be associated with a "Global" asset

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