Navigation
Unreal Engine C++ API Reference > Runtime > RHI
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/RHIFeatureLevel.h |
Include | #include "RHIFeatureLevel.h" |
Syntax
namespace ERHIFeatureLevel
{
enum Type
{
ES2_REMOVED,
ES3_1,
SM4_REMOVED,
SM5,
SM6,
Num,
}
}
Values
Name | Description |
---|---|
ES2_REMOVED | Feature level defined by the core capabilities of OpenGL ES2. Deprecated |
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. |
SM6 | Feature level defined by the capabilities of DirectX 12 hardware feature level 12_2 with Shader Model 6.5 Raytracing Tier 1.1 Mesh and Amplification shaders Variable rate shading Sampler feedback Resource binding tier 3 |
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 ES3 but a feature level can be used with a different API (eg ERHIFeatureLevel::ES3.1 on D3D11) As long as the graphics API supports all the features of the feature level (eg no ERHIFeatureLevel::SM5 on OpenGL ES3.1)