@@ -814,13 +814,13 @@ impl DirtySpecializations {
814814 } ) )
815815 }
816816
817- /// Iterates over all meshes that should have cached pipeline data cleared
818- /// for them.
817+ /// Iterates over all renderables that should be removed from the phase.
819818 ///
820- /// This includes both meshes that became invisible this frame and those
821- /// that are in [`DirtySpecializations::entities`]. If this view must itself
822- /// be re-specialized, this will iterate over all visible entities in
823- /// addition to those that became invisible.
819+ /// This includes renderables that became invisible this frame, renderables
820+ /// that are in [`DirtySpecializations::changed_renderables`], and
821+ /// renderables that are in [`DirtySpecializations::removed_renderables`].
822+ /// If this view must itself be re-specialized, this will iterate over all
823+ /// visible entities in addition to those that became invisible.
824824 pub fn iter_to_dequeue < ' a > (
825825 & ' a self ,
826826 view : RetainedViewEntity ,
@@ -851,11 +851,11 @@ impl DirtySpecializations {
851851 } )
852852 }
853853
854- /// Iterates over all meshes that potentially need to be re-queued.
854+ /// Iterates over all renderables that potentially need to be re-queued.
855855 ///
856- /// This includes both meshes that became visible and those that are in
857- /// [`DirtySpecializations::entities `]. If this view must itself be
858- /// re-specialized, this will iterate over all visible entities .
856+ /// This includes both renderables that became visible and those that are in
857+ /// [`DirtySpecializations::changed_renderables `]. If this view must itself
858+ /// be re-specialized, this will iterate over all visible renderables .
859859 ///
860860 /// `last_frame_view_pending_queues` should be the contents of the
861861 /// [`ViewPendingQueues::prev_frame`] list.
0 commit comments