Function msdfgen_sys::msdfgen_msdfErrorCorrection
source · pub unsafe extern "C" fn msdfgen_msdfErrorCorrection(
sdf: *const u8,
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.