UMaterial::NeedsSetMaterialUsage_Concurrent

Tests to see if this material needs a usage flag update

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/Material.h"

Source

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

Syntax

bool NeedsSetMaterialUsage_Concurrent
(
    bool & bOutHasUsage,
    const EMaterialUsage Usage
) const

Remarks

Tests to see if this material needs a usage flag update

Returns

bool - true if we need to call SetMaterialUsage

Parameters

Parameter

Description

Usage

The usage flag to set

bOutHasUsage

if we don't need to call SMU, then this is what SMU would have returned

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