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进行任何本地更改。