pub fn delete_old_work_item_buffers<GFBD>(
gpu_batched_instance_buffers: ResMut<'_, BatchedInstanceBuffers<GFBD::BufferData, GFBD::BufferInputData>>,
extracted_views: Query<'_, '_, &ExtractedView>,
)where
GFBD: GetFullBatchData,
Expand description
A system that removes GPU preprocessing work item buffers that correspond to
deleted ExtractedView
s.
This is a separate system from clear_batched_gpu_instance_buffers
because ExtractedView
s aren’t created until after the extraction phase
is completed.