Generates the corrected tessellation factors for a quad patch.
void Process2DQuadTessFactorsAvg( in float4 RawEdgeFactors, in float2 InsideScale, out float4 RoundedEdgeTessFactors, out float2 RoundedInsideTessFactors, out float2 UnroundedInsideTessFactors );
The edge tessellation factors, passed into the tessellator stage.
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.
The rounded edge-tessellation factors calculated by the tessellator stage.
The rounded tessellation factors calculated by the tessellator stage for inside edges.
The tessellation factors calculated by the tessellator stage for inside edges.
This function does not return a value.
Generates the corrected tessellation factors for a quad patch, computing the inside tessellation factors as the average of the edge tessellation factors. The U and V inside tessellation factors are computed independently using the average of opposing sides of the domain, then are scaled by InsideScale. The result is then rounded based on the partitioning mode, but the unrounded results are available using the UnroundedInsideTessFactors parameter.
Minimum Shader Model
This function is supported in the following shader models.
|Shader Model 5 and higher shader models||yes|
This function is supported in the following types of shaders: