diff --git a/crates/bevy_sprite/src/mesh2d/material.rs b/crates/bevy_sprite/src/mesh2d/material.rs index 9ed1ce540757be..5cb48691041360 100644 --- a/crates/bevy_sprite/src/mesh2d/material.rs +++ b/crates/bevy_sprite/src/mesh2d/material.rs @@ -216,8 +216,8 @@ pub struct Material2dPipeline { #[derive(Eq, PartialEq, Clone, Hash)] pub struct Material2dKey { - mesh_key: Mesh2dPipelineKey, - material_key: T, + pub mesh_key: Mesh2dPipelineKey, + pub material_key: T, } impl SpecializedMeshPipeline for Material2dPipeline {