Function webrender::prepare::write_segment
source ยท fn write_segment<F>(
segment_instance_index: Index<SegmentedInstance>,
frame_state: &mut FrameBuildingState<'_>,
segments: &mut Storage<BrushSegment>,
segment_instances: &mut Storage<SegmentedInstance>,
f: F,
)where
F: Fn(&mut GpuDataRequest<'_>),