ZL_Compressor_registerStaticGraph_fromNode1o

Function ZL_Compressor_registerStaticGraph_fromNode1o 

Source
pub unsafe extern "C" fn ZL_Compressor_registerStaticGraph_fromNode1o(
    compressor: *mut ZL_Compressor,
    headNode: ZL_NodeID,
    dstGraph: ZL_GraphID,
) -> ZL_GraphID
Expand description

@brief Create a graph from a single input & output node.

Simplified variant of @ref ZL_Compressor_registerStaticGraph_fromNode that only works for nodes that have one input and one output. Creates a new graph headed by @p headNode, whose output gets sent to @p dstGraph.

@returns The newly created graph or ZL_GRAPH_ILLEGAL on error. The user may check for errors using ZL_GraphID_isValid().

@param headNode The node executed first in the newly created graph. @param dstGraph The graph that will receive the output of @p headNode.