mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Make MaterialPipelineKey<T> fields public (#4508)
# Objective Fixes #4507. This comment provides a very good explanation: https://github.com/bevyengine/bevy/issues/4507#issuecomment-1100905685. ## Solution Make `MaterialPipelineKey` fields public.
This commit is contained in:
parent
8d67832dfa
commit
06d709b178
1 changed files with 2 additions and 2 deletions
|
@ -220,8 +220,8 @@ impl<M: SpecializedMaterial> Plugin for MaterialPlugin<M> {
|
|||
|
||||
#[derive(Eq, PartialEq, Clone, Hash)]
|
||||
pub struct MaterialPipelineKey<T> {
|
||||
mesh_key: MeshPipelineKey,
|
||||
material_key: T,
|
||||
pub mesh_key: MeshPipelineKey,
|
||||
pub material_key: T,
|
||||
}
|
||||
|
||||
pub struct MaterialPipeline<M: SpecializedMaterial> {
|
||||
|
|
Loading…
Reference in a new issue