Skip to main content

GLUI

易用性
拓展性
性能
安全性
优点
  • Framebuffer FTW
  • Window events rigged
缺点
  • Broken on your machine

说明#

The GLUI is a research pattern that we will use internally to test approaches using a GLUTIN window. We’re not sure yet if it will make the final cut as a bona fide alternative to WebView, although early tests with transparent and multiwindow are exciting.

示意图#

graph TD A==>H H==>G A-->D D-->G subgraph GLUTIN G end subgraph RUST A end A[Binary] D(Framebuffer) G[GL Window] H{Bootstrap} style GLUTIN stroke:#1D81EE,stroke-width:4px style RUST fill:#fad3a9,stroke:#F28918,stroke-width:4px

配置#

这是你需要在你的 tauri.conf.json 中添加的配置:

"tauri": {
  "allowlist": {                  // all API endpoints are default false
    "all": false,                 // disable the api
  },
  "window": {                     // not yet normative
    "glutin": true,
    "webview": false
  }
}