We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GizmoBuilder2d::immediate
1 parent 7b2f4c1 commit 03ffe31Copy full SHA for 03ffe31
crates/bevy_gizmos/src/primitives/dim2.rs
@@ -108,6 +108,9 @@ where
108
pub fn new(gizmos: &'builder mut GizmoBuffer<Config, Clear>, data: Blueprint) -> Self {
109
Self { gizmos, data }
110
}
111
+
112
+ /// Consume the builder, which will immediately drop it, running the [`GizmoBlueprint2d::build_2d`] method.
113
+ pub fn immediate(self) {}
114
115
116
impl<'builder, Blueprint, Config, Clear> core::ops::Deref
0 commit comments