An input buffer that appears as a stream the shader may pull values from. Only structured buffers can take T types that are structures.

Consume Removes a value from the end of the buffer.
GetDimensions Gets the resource dimensions.


The UAV format bound to this resource needs to be created with the DXGI_FORMAT_UNKNOWN format.

The UAV bound to this resource must have been created with D3D11_BUFFER_UAV_FLAG_APPEND.

For more info about consume structured buffers, see both sections: append and consume buffer and structured buffer.

Minimum Shader Model

This object is supported in the following shader models.

Shader ModelSupported
Shader Model 5 and higher shader modelsyes


This object is supported for the following types of shaders:



See also

Shader Model 5 Objects