Add HasDepthClip to GPU Device limits

This commit is contained in:
Wojtek Figat
2023-10-11 10:15:44 +02:00
parent ac542bf920
commit cbdd6c4964
6 changed files with 11 additions and 16 deletions

View File

@@ -259,6 +259,11 @@ API_STRUCT() struct GPULimits
/// </summary>
API_FIELD() bool HasDepthAsSRV;
/// <summary>
/// True if device supports depth buffer clipping (see GPUPipelineState::Description::DepthClipEnable).
/// </summary>
API_FIELD() bool HasDepthClip;
/// <summary>
/// True if device supports depth buffer texture as a readonly depth buffer (can be sampled in the shader while performing depth-test).
/// </summary>