Windows apps
Collapse the table of content
Expand the table of content
Information
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.

StructuredBuffer

A read-only buffer, which can take a T type that is a structure.

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

 

The UAV 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.

Minimum Shader Model

This object is supported in the following shader models.

Shader ModelSupported
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.

VertexHullDomainGeometryPixelCompute
xxxxxx

 

See also

Shader Model 5 Objects

 

 

Show:
© 2017 Microsoft