diff --git a/crates/bevy_pbr/src/render/mesh_view_bindings.rs b/crates/bevy_pbr/src/render/mesh_view_bindings.rs index 0f40327dc7..3d523154c9 100644 --- a/crates/bevy_pbr/src/render/mesh_view_bindings.rs +++ b/crates/bevy_pbr/src/render/mesh_view_bindings.rs @@ -209,7 +209,7 @@ pub(crate) fn buffer_layout( } /// Returns the appropriate bind group layout vec based on the parameters -fn layout_entries( +pub fn layout_entries( clustered_forward_buffer_binding_type: BufferBindingType, visibility_ranges_buffer_binding_type: BufferBindingType, layout_key: MeshPipelineViewLayoutKey, @@ -493,6 +493,7 @@ impl MeshPipelineViewLayouts { /// Generates all possible view layouts for the mesh pipeline, based on all combinations of /// [`MeshPipelineViewLayoutKey`] flags. +#[deprecated(since = "0.16.0", note = "Use `layout_entries` instead")] pub fn generate_view_layouts( render_device: &RenderDevice, render_adapter: &RenderAdapter,