DecrementCounter function
Decrements the object's hidden counter.
Syntax
uint DecrementCounter(void);
Parameters
This function has no parameters.
Return value
Type: uint
The post-decremented counter value.
Remarks
The bound unordered access view must have D3D11_BUFFER_UAV_FLAG_COUNTER set during creationfor this method to work.
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for