Export (0) Print
Expand All

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

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft