ID3D11DeviceContextX::RSGetMSAASettingsForQuality Method

Retrieves default driver settings for the given Direct3D 11 sample count and quality. Can be used to set the multisample antialiasing (MSAA) to default driver state.

Syntax

public:
HRESULT RSGetMSAASettingsForQuality(
         D3D11X_MSAA_SCAN_CONVERTER_SETTINGS *pMSAASCSettings,
         D3D11X_MSAA_EQAA_SETTINGS *pEQAASettings,
         D3D11X_MSAA_SAMPLE_PRIORITIES *pCentroidPriorities,
         D3D11X_MSAA_SAMPLE_POSITIONS *pSamplePositions,
         UINT LogSampleCount,
         UINT SampleQuality
)  

Parameters

pMSAASCSettings
Type: D3D11X_MSAA_SCAN_CONVERTER_SETTINGS *

[in, out, optional] The convertor settings, as a pointer to a D3D11X_MSAA_SCAN_CONVERTER_SETTINGS structure.

pEQAASettings
Type: D3D11X_MSAA_EQAA_SETTINGS *

[in, out, optional] The EQAA settings, as a pointer to a D3D11X_MSAA_EQAA_SETTINGS structure.

pCentroidPriorities
Type: D3D11X_MSAA_SAMPLE_PRIORITIES *

[in, out, optional] The centroid priorities, as a pointer to a D3D11X_MSAA_SAMPLE_PRIORITIES structure.

pSamplePositions
Type: D3D11X_MSAA_SAMPLE_POSITIONS *

[in, out, optional] The sample positions, as a pointer to a D3D11X_MSAA_SAMPLE_POSITIONS structure.

LogSampleCount
Type: UINT 

[in] The Log2 of the number of MSAA samples. The maximum this can be is 3, which means 8 samples.

SampleQuality
Type: UINT 

[in] Direct3D 11 sample quality.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members