Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialExpressionTextureSample
Syntax
TEnumAsByte< 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.