pub fn write_material_bind_group_buffers<M>(
allocator: ResMut<'_, MaterialBindGroupAllocator<M>>,
render_device: Res<'_, RenderDevice>,
render_queue: Res<'_, RenderQueue>,
)where
M: Material,
Expand description
Uploads the contents of all buffers that the MaterialBindGroupAllocator
manages to the GPU.
Non-bindless allocators don’t currently manage any buffers, so this method only has an effect for bindless allocators.