ModernUI
Modern UI 3.11.0
Modern UI(由Icyllis Milica製作)是一個桌面應用程序框架,專為獨立2D和3D渲染軟件開發而設計。它利用現代的3D圖形API和技術來提供高實時渲染性能。該框架類似於Javafx或Android,具有完整的事件循環,渲染系統和UI組件,它們也適用於遊戲開發。
還有一個官方版本擴展到Minecraft和Forge,它將現代UI與Minecraft結合在一起,並提供了許多其他功能和改裝API。請參閱ModernUI-MC存儲庫。
有什麼優勢?
強大的UI功能,良好的國際化支持,基於Harfbuzz的完整文本佈局引擎。該框架具有功能強大的圖形引擎,非常適合OpenGL 3.3和OpenGL 4.5核心配置文件,並且專門針對台式GPU進行了優化,某些引擎設計比Google Skia更好。
該項目仍處於相對較早的階段。
Minecraft Mod的發行版可在Curseforge上獲得。
如果您有任何疑問,請隨時加入我們的Discord服務器。
Javadoc
規格(WIP)
repositories {
maven {
name 'IzzelAliz Maven'
url 'https://maven.izzel.io/releases/'
}
}
dependencies {
implementation "icyllis.modernui:ModernUI-Core:${modernui_core_version}"
// apply appropriate LWJGL platform here (mandatory)
// apply other Modern UI modules (optional)
}
JDK 21是首選。構建命令: gradlew build
現代UI需要弧3D代碼庫才能構建。 ARC 3D是一種低級圖形引擎,經常更新。它不會在Maven存儲庫上發布。該存儲庫與/external子目錄中合併到該存儲庫中,所有Arc3D類和來源都將包含在ModernUI-Core中。您可以在要更新時遵循以下步驟。
// add remote if not
git remote add -f --no-tags arc3d [email protected]:BloCamLimb/Arc3D.git
// fetch if not
git fetch --no-tags arc3d
// delete the old code if any
git rm -rf external/Arc3D
// merge arc3d/master branch
git merge -s ours --no-commit arc3d/master --allow-unrelated-histories
// read the root directory of arc3d/master into ' external/Arc3D '
git read-tree --prefix=external/Arc3D -u arc3d/master:
git commit注意:您不得對/external進行任何本地更改。