Function msdfgen_msdfErrorCorrection

Source
pub unsafe extern "C" fn msdfgen_msdfErrorCorrection(
    sdf: *const msdfgen_BitmapRef<f32>,
    shape: *const msdfgen_Shape,
    projection: *const msdfgen_Projection,
    range: f64,
    config: *const msdfgen_MSDFGeneratorConfig,
)
Expand description

Predicts potential artifacts caused by the interpolation of the MSDF and corrects them by converting nearby texels to single-channel.