D3D11X_MSAA_SAMPLE_PRIORITIES Structure

Contains centroid priorities for each sample.

Syntax

typedef struct D3D11X_MSAA_SAMPLE_PRIORITIES {
    BYTE CentroidPriorities[16];
} D3D11X_MSAA_SAMPLE_PRIORITIES;  

Members

CentroidPriorities
Centroid priorities, as an array of 16 bytes.

Remarks

This structure is used by ID3D11DeviceContextX::RSGetMSAASettingsForQuality and ID3D11DeviceContextX::RSSetSamplePositions.

This structure contains centroid priorities for each sample. Each entry is a 4-bit unsigned integer specifying the index of a sample. Sample indices should be sorted from the sample location which is closest to the pixel center, to the sample location which is farthest from the pixel center.

Requirements

Header: Declared in d3d11_x.h.