Skip to main content

ZL_Selector_getGraphDepth

Function ZL_Selector_getGraphDepth 

Source
pub unsafe extern "C" fn ZL_Selector_getGraphDepth(
    selCtx: *const ZL_Selector,
) -> c_uint
Expand description

@brief Query the current graph execution depth.

Returns the depth at which the current graph is executing. Depth 1 is the root graph; each successor level increments by 1. This can be used by a selector/transformer to detect runaway graph growth.

@param selCtx Selector context, must be non-NULL. @return Current graph execution depth (>= 1).