Specifies the configuration of a DB occlusion counter.
typedef struct D3D11X_QUERY_CONFIG_OCCLUSION_COUNTER {
BOOL EnableEvenTargets;
BOOL EnableOddTargets;
UINT Flags;
} D3D11X_QUERY_CONFIG_OCCLUSION_COUNTER;
EnableEvenTargets
If set to TRUE, enables occlusion counting for render targets bound to even slots.
EnableOddTargets
If set to TRUE, enables occlusion counting for render targets bound to odd slots.
Flags
Count configuration flags, as a bitwise-OR’d combination of D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_FLAG enumeration constants. These are depth/stencil testing conditions reflected in the occlusion count, such as D3D11X_QUERY_CONFIG_OCCLUSION_COUNT_DEPTH_FAIL.
The D3D11X_QUERY_CONFIG_OCCLUSION structure contains an array of two D3D11X_QUERY_CONFIG_OCCLUSION_COUNTER structures, to configure a DB counter associated with the QueryIndex parameter of ID3D11DeviceContextX::WriteQuery or ID3D11DeviceContextX::ResetQuery. The DB counter will apply the defined configuration to all four DB instances.
Header: Declared in d3d11_x.h.