ensureFrameCallbacksRegistered method

  1. @protected
void ensureFrameCallbacksRegistered ()
@protected

Implementation

@protected
void ensureFrameCallbacksRegistered() {
  window.onBeginFrame ??= _handleBeginFrame;
  window.onDrawFrame ??= _handleDrawFrame;
}