FMaterialResource::GetSamplerUsage

Returns the number of samplers used in this material, or -1 if the material does not have a valid shader map (compile error or still compiling).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

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

Syntax

int32 GetSamplerUsage() const

Remarks

Returns the number of samplers used in this material, or -1 if the material does not have a valid shader map (compile error or still compiling).

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