acquire Frame
Takes the newest rendered frame from the session's texture ring, if one is ready.
Older frames that you haven't acquired are dropped, and the session can render over a frame before you acquire it. While you hold a frame in every texture of the ring, new frames wait until you release one. When no frame is ready, it succeeds and writes the null handle.
See mln_render_session_acquire_frame in the C API reference.
Errors:
Status.UNSUPPORTEDwhen the session lacksRenderSessionCapabilityFlag.FRAME_ACQUISITION.Status.TARGET_LOSTorStatus.NATIVE_ERROR, asRenderSessionSnapshot.failureStatusreports, when the session has failed.Status.INVALID_STATEwhen you detached, abandoned, released, or disposed the session.