IPixD3DState::GetSamplePositions 方法

透過 ID3D12GraphicsCommandList1::SetSamplePositions 取得目前設定在命令清單上的範例位置。

語法

HRESULT GetSamplePositions(
    UINT32 count,
    D3D12_SAMPLE_POSITION * pSamplePositions);

參數

count [在]

pSamplePositions 緩衝區的大小。 必須等於 GetNumSamplesPerPixel () * GetNumPixels () 。

pSamplePositions [出]

沒有提供描述。

傳回

如果計數不符合 GetNumSamplesPerPixel () GetNumPixels () * 或不支援,則傳回失敗 (例如GPU 驅動程式不支援在 dxdmp 檔案案例) 記錄資訊。

另請參閱