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.

ByteAddressBuffer

A read-only buffer that is indexed in bytes.

MethodDescription
GetDimensions Gets the resource dimensions.
Load Gets one value.
Load2 Gets two values.
Load3 Gets three values.
Load4 Gets four values.

 

You can use the ByteAddressBuffer object type when you work with raw buffers. For more info about raw viewing of buffers, see Raw Views of Buffers.

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 through the Direct3D 11 API by using 10.0 or 10.1 feature level (D3D_FEATURE_LEVEL_10_X) on devices that support compute shaders. For more info about compute shader support on downlevel hardware, see Compute Shaders on Downlevel Hardware.)

yes

 

This object is supported for the following types of shaders:

VertexHullDomainGeometryPixelCompute
xxxxxx

 

For more info about a byte address buffer, see the byte addressable resource type.

Shader Model 5 also implements a read-write byte address buffer.

See also

Shader Model 5 Objects

 

 

Show:
© 2017 Microsoft