pub unsafe extern "C" fn rpsCmdSetCommandBuffer(
    pContext: *const RpsCmdCallbackContext,
    hCmdBuffer: RpsRuntimeCommandBuffer
) -> RpsResult
Expand description

Sets a new command buffer to be used for command recording.

RPS does not keep of previously used command buffers. It is the responsibility of the application to track and submit them in order accordingly. Usually used for multi-threaded rendering.

@param pContext Pointer to the current command callback context. Must not be NULL. @param hCmdBuffer Handle to the new command buffer.

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