RWStructuredBuffer<T, L>.DecrementCounter

Description

Decrements the object’s hidden counter.

Signature

uint RWStructuredBuffer<T, L>.DecrementCounter()
    where L : IBufferDataLayout;

Return value

The post-decremented counter value.

Remarks

This function is not implemented when targeting non-HLSL.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.