Navigation
API > API/Runtime > API/Runtime/Engine
Controls where the sampler for different texture lookups comes from
| Name | ESamplerSourceMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum ESamplerSourceMode
{
SSM_FromTextureAsset,
SSM_Wrap_WorldGroupSettings,
SSM_Clamp_WorldGroupSettings,
SSM_TerrainWeightmapGroupSettings,
}
Values
| Name | Remarks |
|---|---|
| SSM_FromTextureAsset | Get the sampler from the texture. |
| SSM_Wrap_WorldGroupSettings | Shared sampler source that does not consume a sampler slot. |
| SSM_Clamp_WorldGroupSettings | Shared sampler source that does not consume a sampler slot. |
| SSM_TerrainWeightmapGroupSettings | Shared sampler source that does not consume a sampler slot, used to sample the terrain weightmap. |