Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
Include |
#include "RHIDefinitions.h" |
namespace ERHIFeatureLevel
{
enum Type
{
ES2_REMOVED,
ES3_1,
SM4_REMOVED,
SM5,
Num,
}
}
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 |
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)