pub fn prepare_material_bind_groups<M>(
allocator: ResMut<'_, MaterialBindGroupAllocator<M>>,
render_device: Res<'_, RenderDevice>,
fallback_image: Res<'_, FallbackImage>,
fallback_resources: Res<'_, FallbackBindlessResources>,
)where
M: Material,
Expand description
Creates and/or recreates any bind groups that contain materials that were modified this frame.