Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reads texture data and returns status of the operation.
Syntax
Load(
in int2 Location,
in int sampleindex,
in int2 Offset,
out uint Status
);
Parameters
-
Location [in]
-
Type: int2
The texture coordinates.
-
sampleindex [in]
-
Type: int
The sample index.
-
Offset [in]
-
Type: int2
An offset applied to the texture coordinates before loading.
-
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 Texture2DMS object.
See also