Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DecrementCounter
Collapse the table of content
Expand the table of content

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:

VertexHullDomainGeometryPixelCompute
xx

 

See also

Shader Model 5

 

 

Community Additions

ADD
Show:
© 2015 Microsoft