RWStructuredBuffer::Load(int) function

Reads buffer data.

Syntax

 Load(
  in int Location
);

Parameters

Location [in]

Type: int

The location of the buffer.

Return value

Type:

The return type matches the type in the declaration for the RWStructuredBuffer object.

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