Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A read-only buffer, which can take a T type that is a structure.
Method | Description |
---|---|
GetDimensions | Gets the resource dimensions. |
Load | Reads buffer data. |
Operator[] | Returns a read-only resource variable. |
The SRV format bound to this resource needs to be created with the DXGI_FORMAT_UNKNOWN format.
To find out more about structured buffers, see the overview material.
This object is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 5 and higher shader models Shader Model 4 (Available for compute and pixel shaders in Direct3D 11 on some Direct3D 10 devices.) |
yes |
This object is supported for the following types of shaders.
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x | x | x | x | x |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today