InputPatch::Operator function

Returns the nth control point in the patch.

Syntax

T Operator[](
  in uint n
);

Parameters

n [in]

Type: uint

The input index.

Return value

Type: T

The nth control point.

Remarks

This function is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x

 

See also

InputPatch

Shader Model 5