ByteAddressBuffer::Load(int) function

Gets one value.

Syntax

uint Load(
  in int address
);

Parameters

address [in]

Type: int

The input address in bytes, which must be a multiple of 4.

Return value

Type: uint

One value.

Remarks

This function is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x x x x x

 

See also

Load methods

Shader Model 5