unreal.SamplerSourceMode
¶
- class unreal.SamplerSourceMode¶
Bases:
unreal.EnumBase
Controls where the sampler for different texture lookups comes from
C++ Source:
Module: Engine
File: EngineTypes.h
- SSM_CLAMP_WORLD_GROUP_SETTINGS¶
Shared sampler source that does not consume a sampler slot. Uses clamp addressing and gets filter mode from the world texture group.
- Type
2
- SSM_FROM_TEXTURE_ASSET¶
Get the sampler from the texture. Every unique texture will consume a sampler slot, which are limited in number.
- Type
0
- SSM_WRAP_WORLD_GROUP_SETTINGS¶
Shared sampler source that does not consume a sampler slot. Uses wrap addressing and gets filter mode from the world texture group.
- Type
1