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