D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_FLAG Enumeration

Specifies the depth/stencil test result conditions to include in an occlusion count.

Syntax

typedef enum D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_FLAG
{
    D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_PASS,
    D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_FAIL,
    D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_STENCIL_FAIL,
    D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_BOUNDS_FAIL
} D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_FLAG;  

Constants

Constant Description
D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_PASS Count samples which pass the depth test. This is the default count configuration.
D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_FAIL Count samples which fail the depth test.
D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_STENCIL_FAIL Count samples which fail the stencil test.
D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_BOUNDS_FAIL Count samples which fail the depth bounds test.

Remarks

This enumeration is used for the Flags member of the D3D11X_QUERY_CONFIG_OCCLUSION_COUNTER structure, which is used to inform ID3D11DeviceContextX::ConfigureQuery. Applications may combine one or more of these flags with a logical OR.

Requirements

Header: Declared in d3d11_x.h.