StructuredBuffer::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 StructuredBuffer object.
Remarks
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x |
See also