Skip to content

Commit 83e2774

Browse files
committed
Make MaterialPipelineKey<T> fields public (#4508)
# Objective Fixes #4507. This comment provides a very good explanation: #4507 (comment). ## Solution Make `MaterialPipelineKey` fields public.
1 parent afbce46 commit 83e2774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_pbr/src/material.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ impl<M: SpecializedMaterial> Plugin for MaterialPlugin<M> {
220220

221221
#[derive(Eq, PartialEq, Clone, Hash)]
222222
pub struct MaterialPipelineKey<T> {
223-
mesh_key: MeshPipelineKey,
224-
material_key: T,
223+
pub mesh_key: MeshPipelineKey,
224+
pub material_key: T,
225225
}
226226

227227
pub struct MaterialPipeline<M: SpecializedMaterial> {

0 commit comments

Comments
 (0)