Function
PhocFrameCallback
Declaration
gboolean
(* PhocFrameCallback) (
PhocAnimatable* self,
guint64 last_frame,
gpointer user_data
)
Description [src]
Callback type for adding a function to update animations. See phoc_animatable_add_frame_callback().
Parameters
self-
Type:
PhocAnimatableThe animatable.
The data is owned by the caller of the function. last_frame-
Type:
guint64Time of the last frame in us.
user_data-
Type:
gpointerUser data passed when registering the callback.
The argument can be NULL.The data is owned by the caller of the function.