[]
Sets an array of views for an unordered resource.
public void SetUnorderedAccessViews(int startSlot, params UnorderedAccessView[] unorderedAccessViews)
| Type | Name | Description |
|---|---|---|
| int | startSlot | Index of the first element in the zero-based array to begin setting. |
| UnorderedAccessView[] | unorderedAccessViews | A reference to an array of UnorderedAccessView references to be set by the method. |
Sets an array of views for an unordered resource.
public void SetUnorderedAccessViews(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] uavInitialCounts)
| Type | Name | Description |
|---|---|---|
| int | startSlot | Index of the first element in the zero-based array to begin setting. |
| UnorderedAccessView[] | unorderedAccessViews | A reference to an array of UnorderedAccessView references to be set by the method. |
| int[] | uavInitialCounts | An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored. |