[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ComputeShaderStage.SetUnorderedAccessView

SetUnorderedAccessView Method

SetUnorderedAccessView(int, UnorderedAccessView)

Sets an array of views for an unordered resource.

Declaration
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView)
Parameters
Type Name Description
int startSlot

Index of the first element in the zero-based array to begin setting.

UnorderedAccessView unorderedAccessView

A reference to an UnorderedAccessView references to be set by the method.

SetUnorderedAccessView(int, UnorderedAccessView, int)

Sets an array of views for an unordered resource.

Declaration
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView, int uavInitialCount)
Parameters
Type Name Description
int startSlot

Index of the first element in the zero-based array to begin setting.

UnorderedAccessView unorderedAccessView

A reference to an UnorderedAccessView references to be set by the method.

int uavInitialCount

An 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. uAVInitialCount is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.