Skip to main content

push_mesh_reference_if_active

Function push_mesh_reference_if_active 

Source
pub fn push_mesh_reference_if_active(mesh_ref: MeshRef) -> bool
Expand description

Push a mesh reference to the active pickling state if mesh-reference collection is active in this context.

Returns true if the reference was collected (the caller emits a slot); false otherwise (the caller inlines the reference as usual).