Skip to main content

shape_id

Function shape_id 

Source
pub fn shape_id(cx: &mut Cx, symbol: Symbol, shape: Arc<dyn Shape>) -> ShapeId
Expand description

Registers shape under symbol and returns its assigned shape id.