pub unsafe extern "C" fn rpsRenderGraphDeclareDynamicNode(
    hRenderGraphBuilder: RpsRenderGraphBuilder,
    pNodeDesc: *const RpsNodeDesc
) -> RpsNodeDeclId
Expand description

Declare an on-demand node type during the render graph construction.

Normally, node declarations are specified in the RenderGraphSignature ahead of time. This function allows additional node declarations to be added. Note: The lifetime of the dynamic node declaration is temporary and it is only valid until the next render graph update.

@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE. @param pNodeDesc Pointer to a node description. Passing NULL for the name of the description registers the node as a fallback for calling unknown nodes.

@returns ID of the node declaration if successful, RPS_NODEDECL_ID_INVALID otherwise.