Is it possible to apply the glass effect to the top toolbar?

when I tried

ToolbarItemGroup(placement: .title) {
                        VStack { 
                               header()
                        }.glassEffect()
 }

the glass effect is only applied to the element itself. And the ToolbarItemGroup does seem to have the glass effect apis either.

What I want is for the overall toolbar to have the glass effect, not just the individual elements in the toolbar.