UMaterialInstance::UpdatePermutationAllocations

Updates StaticPermutationMaterialResources based on the value of bHasStaticPermutationResource This is a helper used when recompiling MI's with static parameters.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h

Include

#include "Materials/MaterialInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp

Syntax

void UpdatePermutationAllocations
(
    FMaterialResourceDeferredDeletionArray * ResourcesToFree
)

Remarks

Updates StaticPermutationMaterialResources based on the value of bHasStaticPermutationResource This is a helper used when recompiling MI's with static parameters. Assumes that the rendering thread command queue has been flushed by the caller.

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