Navigation
API > API/Runtime > API/Runtime/Engine
The default float precision for material's pixel shaders on mobile devices
| Name | EMobileFloatPrecisionMode::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/RendererSettings.h |
| Include Path | #include "Engine/RendererSettings.h" |
Syntax
namespace EMobileFloatPrecisionMode
{
enum Type
{
Half = 0,
Full_MaterialExpressionOnly = 1,
Full = 2,
}
}
Values
| Name | Remarks |
|---|---|
| Half | Half precision, except explict 'float' in .ush/.usf |
| Full_MaterialExpressionOnly | Half precision, except Full precision for material floats and explicit floats in .ush/.usf |
| Full | All the floats are full-precision |