Sets EQAA MSAA setting to the device. No shadow state is kept for this setting.
public:
void RSSetEQAASettings(
const D3D11X_MSAA_EQAA_SETTINGS *pEQAASettings
)
pEQAASettings
Type: D3D11X_MSAA_EQAA_SETTINGSĀ *
[in] Optional pointer to the D3D11X_MSAA_EQAA_SETTINGS structure.
When this function is called, the driver switches on internal multisample antialiasing (MSAA) override, which disables MSAA settings by the driver. This override will be reset when any of the following scenarios occur, at which point the driver will take control over MSAA settings again:
Therefore, the first call to any of the following methods should be accompanied by a complete MSAA state setting:
After that, calls to individual MSAA functions will work as expected.
For example:
D3D11X_MSAA_SCAN_CONVERTER_SETTINGS settings;
D3D11X_MSAA_EQAA_SETTINGS eqaa;
D3D11X_MSAA_SAMPLE_POSITIONS pos;
D3D11X_MSAA_SAMPLE_PRIORITIES dist;
HRESULT hr = pCtx->RSGetMSAASettingsForQuality( &settings, &eqaa, &dist, &pos, LogFragments, Quality );
pCtx->RSSetScanConverterMSAASettings( &settings );
pCtx->RSSetEQAASettings( &eqaa );
pCtx->RSSetSamplePositions( &dist, &pos );
Note that HLSL intrinsics to get the number of samples and sample positions will return incorrect sample positions when these APIs are used.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.