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,
        ES3_1,
        SM4,
        SM5,
        Num,
    }
}

Values

Name

Description

ES2

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

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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback