ByteAddressBuffer::Load2(uint) function

Gets two values.

Syntax

uint2 Load2(
  in uint address
);

Parameters

address [in]

Type: uint

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

Return value

Type: uint2

Two values.

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

Load2 methods

Shader Model 5