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 x

 

See also

OutputPatch

Shader Model 5