Skip to content

Latest commit

 

History

History
79 lines (46 loc) · 1.01 KB

structuredbuffer-load-float-.md

File metadata and controls

79 lines (46 loc) · 1.01 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
StructuredBuffer::Load(int) function
Reads buffer data. | StructuredBuffer::Load(int) function
ef08d360-0494-49f7-9481-cb802e14aeee
Load function HLSL
apiref
Load
NA
reference
05/31/2018

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

Load methods