#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_runtime_get_frame_data(
context: *mut c_void,
frame_no: c_float,
out_data: *mut *const c_uchar,
out_len: *mut usize,
) -> boolExpand description
Build the FrameData of frame_no, which is in [first frame, last frame + 1)
of the animation, and write where it is to out_data and out_len.
Returns false and writes nothing when no frame can be built, with the
reason on ss_runtime_get_last_error: NotLoaded with no resource bound,
AnimationNotFound with no animation set up, InvalidParameter for a
frame_no out of range.
The buffer belongs to the context, and stays valid until the next
ss_runtime_get_frame_data on it, or until it is rebound, reset or destroyed.