ldk_ui_begin_frame
Start a UI frame with the current input snapshots and viewport.
LDK_API void ldk_ui_begin_frame(
LDKUIContext *ctx,
float delta,
LDKMouseState const *mouse,
LDKKeyboardState const *keyboard,
LDKUITextInputState const *text_input,
LDKUIRect viewport
);
Parameters
LDKUIContext *ctx- UI context used by this operation.
float delta- Elapsed time since the preceding frame, in seconds.
LDKMouseState const *mouse- Mouse used by this operation.
LDKKeyboardState const *keyboard- Keyboard used by this operation.
LDKUITextInputState const *text_input- Text input used by this operation.
LDKUIRect viewport- Viewport used by this operation.