pub unsafe extern "C" fn rpsProgramBindNodeSubprogram(
    hProgram: RpsSubprogram,
    name: *const c_char,
    hSubprogram: RpsSubprogram
) -> RpsResult
Expand description

Binds a subprogram to a node declaration specified by name.

The subprogram will be executed during render graph update as if inlined into the parent program. During render graph command recording, node instances generated from the subprogram will call the subprogram node callbacks bindings. Subprograms can be nested recursively.

@param hProgram Handle to the program to bind the subprogram to. @param name Null terminated string with the name of the node. @param hSubprogram Handle to the subprogram to bind.

@returns Result code of the operation. See RpsResult for more info.