ProcessIsolineTessFactors function
Generates the rounded tessellation factors for an isoline.
Syntax
void ProcessIsolineTessFactors(
in float RawDetailFactor,
in float RawDensityFactor,
out float RoundedDetailFactor,
out float RoundedDensityFactor
);
Parameters
-
RawDetailFactor [in]
-
Type: float
The desired detail factor.
-
RawDensityFactor [in]
-
Type: float
The desired density factor.
-
RoundedDetailFactor [out]
-
Type: float
The rounded detail factor clamped to a range that can be used by the tessellator.
-
RoundedDensityFactor [out]
-
Type: float
The rounded density factor clamped to a rangethat can be used by the tessellator.
Return value
This function does not return a value.
Remarks
Minimum Shader Model
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 5 and higher shader models | yes |
This function is supported in the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for