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