Texture2DArray::Load(int,int,uint) function

Reads texture data and returns status of the operation.

Syntax

 Load(
  in  int  Location,
  in  int  Offset,
  out uint Status
);

Parameters

Location [in]

Type: int

The texture coordinates.

Offset [in]

Type: int

An offset applied to the texture coordinates before sampling.

Status [out]

Type: uint

The status of the operation. You can't access the status directly; instead, pass the status to the CheckAccessFullyMapped intrinsic function. CheckAccessFullyMapped returns TRUE if all values from the corresponding Sample, Gather, or Load operation accessed mapped tiles in a tiled resource. If any values were taken from an unmapped tile, CheckAccessFullyMapped returns FALSE.

Return value

Type:

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

See also

Load methods