ID3D11DeviceContext::CSSetUnorderedAccessViews Method
Sets an array of views for an unordered resource.
Syntax
void CSSetUnorderedAccessViews(
[in] UINT StartSlot,
[in] UINT NumUAVs,
[in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
[in] const UINT *pUAVInitialCounts
);
Parameter
StartSlot [in]
Typ: UINTIndex of the first element in the zero-based array to begin setting.
NumUAVs [in]
Typ: UINTNumber of views to set.
ppUnorderedAccessViews [in]
Typ: ID3D11UnorderedAccessView*A pointer to an array of ID3D11UnorderedAccessView pointers to be set by the method.
pUAVInitialCounts [in]
Typ: const UINT*An array of append and consume buffer offsets. A value of -1 indicates to keep the current offset. Any other values set the hidden counter for that appendable and consumeable UAV. pUAVInitialCounts is only relevant for UAVs that were created with either D3D11_BUFFER_UAV_FLAG_APPEND or D3D11_BUFFER_UAV_FLAG_COUNTER specified when the UAV was created; otherwise, the argument is ignored.
Rückgabewert
Returns nothing.
Hinweise
Anforderungen
Header |
D3D11.h |
Bibliothek |
D3D11.lib |