Texture2DMS::Load(int,int) function

Gets one value.

Syntax

T Load(
  in int2 coord,
  in int sampleindex
);

Parameters

coord [in]

Type: int2

The input location.

sampleindex [in]

Type: int

The sample index.

Return value

Type: T

One value, whose type matches the texture template type.

Remarks

This is a list of the overloaded versions of this method.

void Load(in int2 coord,
  in int sampleindex,
  in int2 offset);

This function is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x

 

See also

Load methods

Shader Model 5