Function rps_sys::rpsRenderGraphAddNode
source · pub unsafe extern "C" fn rpsRenderGraphAddNode(
hRenderGraphBuilder: RpsRenderGraphBuilder,
nodeDeclId: RpsNodeDeclId,
userTag: u32,
callback: PFN_rpsCmdCallback,
pCallbackUserContext: *mut c_void,
pArgs: *const RpsVariable,
numArgs: u32
) -> RpsNodeIdExpand description
@brief Adds a render graph node to a render graph.
@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE.
@param nodeDeclId Node declaration ID.
@param userTag User controlled tag for associations with a node call. Is accessible through
@returns ID of the command node.