Skip to content

Commit 3953ce0

Browse files
remove some dead code (#20945)
# Objective - nothing uses it or references it and theres no docs ## Solution - yeet ## Testing - ci Co-authored-by: Alice Cecile <[email protected]>
1 parent 3f5273c commit 3953ce0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

crates/bevy_pbr/src/material.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,21 +1768,6 @@ where
17681768
}
17691769
}
17701770

1771-
#[derive(Component, Clone, Copy, Default, PartialEq, Eq, Deref, DerefMut)]
1772-
pub struct MaterialBindGroupId(pub Option<BindGroupId>);
1773-
1774-
impl MaterialBindGroupId {
1775-
pub fn new(id: BindGroupId) -> Self {
1776-
Self(Some(id))
1777-
}
1778-
}
1779-
1780-
impl From<BindGroup> for MaterialBindGroupId {
1781-
fn from(value: BindGroup) -> Self {
1782-
Self::new(value.id())
1783-
}
1784-
}
1785-
17861771
/// Creates and/or recreates any bind groups that contain materials that were
17871772
/// modified this frame.
17881773
pub fn prepare_material_bind_groups(

0 commit comments

Comments
 (0)