ERHIFeatureLevel::Type

The RHI's feature level indicates what level of support can be relied upon.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIDefinitions.h

Include

#include "RHIDefinitions.h"

Syntax

namespace ERHIFeatureLevel
{
    enum Type
    {
        ES2_REMOVED,
        ES3_1,
        SM4_REMOVED,
        SM5,
        Num,
    }
}

Values

Name

Description

ES2_REMOVED

Feature level defined by the core capabilities of OpenGL ES2.

ES3_1

Feature level defined by the core capabilities of OpenGL ES3.1 & Metal/Vulkan.

SM4_REMOVED

Feature level defined by the capabilities of DX10 Shader Model 4.

SM5

Feature level defined by the capabilities of DX11 Shader Model 5.

Num

Remarks

The RHI's feature level indicates what level of support can be relied upon. Note: these are named after graphics API's like ES2 but a feature level can be used with a different API (eg ERHIFeatureLevel::ES2 on D3D11) As long as the graphics API supports all the features of the feature level (eg no ERHIFeatureLevel::SM5 on OpenGL ES2)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss