Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

merge_clamped

Function merge_clamped 

Source
pub fn merge_clamped(input: &[u8], offset: usize, output: &mut [u8])
Expand description

OR a bounded GoldSrc row into an existing row, clipping oversized runs and preserving the destination after truncated input or invisible runs.