IncrementCounter
Collapse the table of content
Expand the table of content

IncrementCounter function

Increments the object's hidden counter.

Syntax

uint IncrementCounter(void);

Parameters

This function has no parameters.

Return value

Type: uint

The pre-incremented counter value.

Remarks

The bound unordered access view must have D3D11_BUFFER_UAV_FLAG_COUNTER set during creation for this method to work.

A structured resource can be further indexed based on the component names of the structures.

This function is supported for the following types of shaders:

VertexHullDomainGeometryPixelCompute
xx

 

See also

Shader Model 5

 

 

Show:
© 2016 Microsoft