Buffer

Buffer type as it exists in Shader Model 4 plus resource variables and buffer info.

Method Description
GetDimensions Gets the resource dimensions.
Load Reads buffer data.
Operator[] Gets a read-only resource variable.

 

Minimum Shader Model

This object is supported in the following shader models.

Shader Model Supported
Shader Model 5 and higher shader models yes

 

This object is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x x x x x

 

See also

Shader Model 5 Objects