SamplerSource

Controls where the sampler for this texture lookup will come from.

Windows
MacOS
Linux

Syntax

TEnumAsByte< enum ESamplerSourceMode > SamplerSource

Remarks

Controls where the sampler for this texture lookup will come from. Choose 'from texture asset' to make use of the UTexture addressing settings, Otherwise use one of the global samplers, which will not consume a sampler slot. This allows materials to use more than 16 unique textures on SM5 platforms.

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