|
AMD GPU Services (AGS)
|
API for enabling depth bounds testing. More...
Functions | |
| AMD_AGS_API AGSReturnCode | agsDriverExtensionsDX11_SetDepthBounds (AGSContext *context, ID3D11DeviceContext *dxContext, bool enabled, float minDepth, float maxDepth) |
| Function used to set the depth bounds test extension. More... | |
API for enabling depth bounds testing.
| AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDepthBounds | ( | AGSContext * | context, |
| ID3D11DeviceContext * | dxContext, | ||
| bool | enabled, | ||
| float | minDepth, | ||
| float | maxDepth | ||
| ) |
Function used to set the depth bounds test extension.
| [in] | context | Pointer to a context |
| [in] | dxContext | Pointer to the DirectX device context. If this is to work using the non-immediate context, then you need to check support. If nullptr is specified, then the immediate context is assumed. |
| [in] | enabled | Whether to enable or disable the depth bounds testing. If disabled, the next two args are ignored. |
| [in] | minDepth | The near depth range to clip against. |
| [in] | maxDepth | The far depth range to clip against. |
1.8.16