private void StoreCallbacks() { _errorCallback = OnGlfwError; _charCallback = OnGlfwChar; _cursorPosCallback = OnGlfwCursorPos; _keyCallback = OnGlfwKey; _mouseButtonCallback = OnGlfwMouseButton; _scrollCallback = OnGlfwScroll; _windowCloseCallback = OnGlfwWindowClose; _windowSizeCallback = OnGlfwWindowSize; _windowContentScaleCallback = OnGlfwWindownContentScale; }
/// <inheritdoc /> public abstract unsafe GLFWCallbacks.CursorPosCallback SetCursorPosCallback(Window *window, GLFWCallbacks.CursorPosCallback callback);
public static extern IntPtr glfwSetCursorPosCallback(Window *window, GLFWCallbacks.CursorPosCallback callback);