[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ComputeShaderStage.SetUnorderedAccessViews

SetUnorderedAccessViews Method

SetUnorderedAccessViews(int, params UnorderedAccessView[])

Sets an array of views for an unordered resource.

Declaration
public void SetUnorderedAccessViews(int startSlot, params UnorderedAccessView[] unorderedAccessViews)
Parameters
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.

SetUnorderedAccessViews(int, UnorderedAccessView[], int[])

Sets an array of views for an unordered resource.

Declaration
public void SetUnorderedAccessViews(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] uavInitialCounts)
Parameters
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.