unreal.MaterialFloatPrecisionMode
¶
- class unreal.MaterialFloatPrecisionMode¶
Bases:
EnumBase
The default float precision for material’s pixel shaders on mobile devices
C++ Source:
Module: Engine
File: EngineTypes.h
- MFPM_DEFAULT: MaterialFloatPrecisionMode¶
Uses project based precision mode setting
- Type:
0
- MFPM_FULL: MaterialFloatPrecisionMode¶
All the floats are full-precision
- Type:
2
- MFPM_FULL_MATERIAL_EXPRESSION_ONLY: MaterialFloatPrecisionMode¶
Force full-precision for MaterialFloat only, no effect on shader codes in .ush/.usf
- Type:
1
- MFPM_HALF: MaterialFloatPrecisionMode¶
Half precision, except explict ‘float’ in .ush/.usf
- Type:
3