Generates the corrected tessellation factors for a tri patch.
void ProcessTriTessFactorsAvg( in float3 RawEdgeFactors, in float InsideScale, out float3 RoundedEdgeTessFactors, out float RoundedInsideTessFactor, out float UnroundedInsideTessFactor );
- RawEdgeFactors [in]
The edge tessellation factors, passed into the tessellator stage.
- InsideScale [in]
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]
The rounded edge-tessellation factors calculated by the tessellator stage.
- RoundedInsideTessFactor [out]
The tessellation factors calculated by the tessellator stage, and rounded.
- UnroundedInsideTessFactor [out]
The original, unrounded, UV tessellation factors computed by the tessellation stage.
This function does not return a value.
Generates the corrected tessellation factors for a tri patch, computing the inside tessellation factor as the average 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.
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: