Gnosis 0.0.0
dotnet add package Gnosis --version 0.0.0
NuGet\Install-Package Gnosis -Version 0.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gnosis" Version="0.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gnosis" Version="0.0.0" />
<PackageReference Include="Gnosis" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gnosis --version 0.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Gnosis, 0.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gnosis@0.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gnosis&version=0.0.0
#tool nuget:?package=Gnosis&version=0.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Gnosis 引擎
项目名称
Gnosis 引擎
描述
采用多阶段编程(MSP)范式的跨平台游戏引擎,包含两个主要项目:
- Gnosis - 引擎内核,提供编译器、虚拟机、ECS 运行时等核心功能
- GnosisEngine - 渲染层,提供 RHI 抽象、着色器系统、渲染管线、Widget 等所有涉及渲染的部分
项目定位
Gnosis(引擎内核)
- 作为引擎内核使用,不包含任何渲染相关代码
- 包含编译器、虚拟机、ECS 运行时、网络同步、反作弊等核心组件
- 遵循"渲染不可知论"原则,引擎内核不绑定任何特定图形 API
GnosisEngine(渲染层)
- 承载所有涉及渲染的部分,包括 RHI、着色器、管线、Widget
- 基于"一切皆 Shader"理念,以
IMicroFunction为核心抽象统一所有渲染范式 - 支持光栅化、光线追踪、神经渲染、扩散模型等多种渲染后端
核心特性
- gg 语言编译器 - 支持多阶段编程的游戏专用语言编译器
- 字节码虚拟机 - 高性能字节码执行引擎,支持热重载
- ECS 运行时 - 实体组件系统架构,优化游戏逻辑组织
- 一切皆 Shader -
micro函数作为 GPU 可编程管线的通用最小执行单元 - RHI 抽象层 - 可插拔的渲染后端(Vulkan、Metal、DirectX)
- 网络同步 - 客户端-服务器架构,支持状态同步和帧同步
- 反作弊防御 - 多层次反作弊系统,保护游戏公平性
架构概览
Gnosis 内核结构
Gnosis/
├── Core/ # 核心抽象和基础类型
├── Compiler/ # gg 语言编译器
├── Interpreter/ # 字节码虚拟机
├── ECS/ # 实体组件系统
├── Formats/ # 资产格式处理
├── Network/ # 网络同步模块
├── Security/ # 反作弊系统
└── Infrastructure/ # 基础设施实现
GnosisEngine 渲染层结构
GnosisEngine/
├── RHI/ # 渲染硬件接口抽象层
│ └── Enums/ # RHI 枚举类型
├── Shader/ # 着色器系统(一切皆 Shader)
│ └── ValueObjects/ # 着色器值对象
├── Pipeline/ # 渲染管线与帧图
│ └── ValueObjects/ # 管线值对象
├── Widget/ # Widget 渲染接口
├── Renderer/ # 渲染器实现
├── UI/ # UI 渲染与布局
├── Editor/ # 编辑器窗口
└── Program.cs # 入口
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- K4os.Compression.LZ4 (>= 1.3.8)
- NAudio (>= 2.2.1)
- SixLabors.ImageSharp (>= 3.1.6)
- ZstdNet (>= 1.4.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.0 | 103 | 4/21/2026 |