The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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
Show: