IPixD3DState::GetSamplePositions method

Get the sample positions currently set on the command list via ID3D12GraphicsCommandList1::SetSamplePositions.

Syntax

HRESULT GetSamplePositions(
    UINT32 count,
    D3D12_SAMPLE_POSITION * pSamplePositions);

Parameters

count [in]

The size of the pSamplePositions buffer. Must equal GetNumSamplesPerPixel() * GetNumPixels().

pSamplePositions [out]

No description provided.

Returns

Returns failure if count does not match GetNumSamplesPerPixel() * GetNumPixels() or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also