Function rps_sys::rpsCmdGetArgResourceDescArray
source · pub unsafe extern "C" fn rpsCmdGetArgResourceDescArray(
pContext: *const RpsCmdCallbackContext,
argIndex: RpsParamId,
srcArrayOffset: u32,
pResourceDescs: *mut RpsResourceDesc,
numDescs: u32
) -> RpsResultExpand description
Gets an array of resource descriptions of a resource node argument.
@param pContext Callback context of the current command. @param argIndex Index of the argument to get the resource descriptions from. Must be a resource array argument if numDescs > 1. @param srcArrayOffset Offset to the first resource description to get. @param pResourceDescs Pointer to an array of RpsResourceDesc in which the numDescs resource descriptions are returned. Must not be NULL if numDescs != 0. @param numDescs Number of resource descriptions to get. Requires srcArrayOffset + numDescs to be less than the number of elements in the node argument.
@returns Result code of the operation. See RpsResult for more info.