Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize

ProcessTriTessFactorsMin function

Generates the corrected tessellation factors for a tri patch.

Syntax

void ProcessTriTessFactorsMin(
  in  float3 RawEdgeFactors,
  in  float InsideScale,
  out float3 RoundedEdgeTessFactors,
  out float RoundedInsideTessFactors,
  out float UnroundedInsideTessFactors
);

Parameters

RawEdgeFactors [in]

Type: float3

The edge tessellation factors, passed into the tessellator stage.

InsideScale [in]

Type: float

The scale factor applied to the UV tessellation factors computed by the tessellation stage. The allowable range for InsideScale is 0.0 to 1.0.

RoundedEdgeTessFactors [out]

Type: float3

The rounded edge-tessellation factors calculated by the tessellator stage.

RoundedInsideTessFactors [out]

Type: float

The rounded tessellation factors calculated by the tessellator stage for inside edges.

UnroundedInsideTessFactors [out]

Type: float

The tessellation factors calculated by the tessellator stage for inside edges.

Return value

This function does not return a value.

Remarks

Generates the corrected tessellation factors for a tri patch, computing the inside tessellation factor as the minimum of the edge tessellation factors, which is then scaled by InsideScale. The result is then rounded based on the partitioning mode, but the unrounded results are available using the UnroundedInsideTessFactor parameter.

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 5 and higher shader modelsyes

 

This function is supported in the following types of shaders:

VertexHullDomainGeometryPixelCompute
x

 

See also

Shader Model 5

 

 

Community Additions

ADD
Show:
© 2015 Microsoft