IPixD3DState::GetNumSamplesPerPixel 方法

透過 ID3D12GraphicsCommandList1::SetSamplePositions 取得命令清單上設定的 numSamplesPerPixel 值。

語法

UINT32 GetNumSamplesPerPixel();

參數

這個方法沒有參數。

傳回

numSamplesPerPixel 值,如果尚未呼叫或不支援 SetSamplePositions,則為 0 (例如GPU 驅動程式不支援在 dxdmp 檔案案例) 中錄製資訊。

另請參閱