Function rps_sys::rpsProgramBindNodeCallback
source · pub unsafe extern "C" fn rpsProgramBindNodeCallback(
hProgram: RpsSubprogram,
name: *const c_char,
pCallback: *const RpsCmdCallback
) -> RpsResultExpand description
@brief Binds a command node callback to a node declaration specified by name.
Node instances generated from the program with the specified node declaration will call the same callback during render graph command recording.
@param hProgram Handle to the program to bind a node for. @param name Null terminated string with the name of the node. @param pCallback Pointer to callback parameters. Passing NULL uses default callback parameters.
@returns Result code of the operation. See