Export (0) Print
Expand All

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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft