engine
 
载入中...
搜索中...
未找到
枚举
ERHIFeatureLevel 命名空间参考

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

枚举

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

详细描述

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)

枚举类型说明

◆ Type

枚举值
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.

SUPPORT FOR THIS FEATURE LEVEL HAS BEEN ENTIRELY REMOVED.

SM5 

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

Compute shaders with shared memory, group sync, UAV writes, integer atomics Indirect drawing Pixel shaders with UAV writes Cubemap arrays Read-only depth or stencil views (eg read depth buffer as SRV while depth test and stencil write) Tessellation is not considered part of Feature Level SM5 and has a separate capability flag.