• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Aminator/DirectX12GameEngine: DirectX 12 .NET game engine

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Aminator/DirectX12GameEngine

开源软件地址:

https://github.com/Aminator/DirectX12GameEngine

开源编程语言:

C# 100.0%

开源软件介绍:

DirectX12GameEngine

DirectX12GameEngine is a game engine completely written in C# utilizing the Direct3D 12 API for rendering graphics. It supports UWP either rendered directly to the CoreWindow or embedded in XAML with a SwapChainPanel. It also supports Win32 with WinForms. Some stand-out features are a shader generator that generates HLSL shaders out of .NET code, holographic rendering for HoloLens and Windows Mixed Reality and an editor made with UWP XAML.

DirectX12GameEngine Editor

Engine Projects

  • DirectX12GameEngine.Assets: Assets classes for importing assets like textures, materials and models.
  • DirectX12GameEngine.Core.Assets: Content manager, serialization of assets.
  • DirectX12GameEngine.Core: Helper classes and extensions.
  • DirectX12GameEngine.Editor: A UWP XAML editor for this game engine to handle scene manipulation and changing properties of components.
  • DirectX12GameEngine.Engine: Main engine project with entity component system.
  • DirectX12GameEngine.Games: Game base class, dependency injection and window handling.
  • DirectX12GameEngine.Graphics: Direct3D 12 abstraction and Mixed Reality.
  • DirectX12GameEngine.Input: Input manager that handles every platform.
  • DirectX12GameEngine.Rendering: Everything rendering and material related including many classes to define your own custom materials and shaders.
  • DirectX12GameEngine.Shaders: A .NET to HLSL compiler and HLSL to DXIL shader bytecode compiler.

Sample Projects

  • DirectX12ComputeShaderSample: Shows how to write compute shaders in C#.
  • DirectX12Game: A simple sample scene containing some models and lights and a camera controller. This a library that gets referenced by the projects below where it is really executed.
  • DirectX12CoreWindowApp: Runs DirectX12Game in a UWP app rendering directly to the CoreWindow.
  • DirectX12XamlApp: Runs DirectX12Game in a UWP app rendering to a SwapChainPanel embedded in a XAML page.
  • DirectX12WinFormsApp: Runs DirectX12Game in a .NET Core 3.0 WinForms app rendering to the Win32 window (HWND).

Prerequisites

  • Visual Studio 2019 (with .NET Core preview enabled)
  • Windows 10 SDK, version 1903 (build 10.0.18362.0)
  • Latest .NET Core 3.0 SDK

Most projects are just using .NET Standard 2.0 or sometimes additionaly .NET Core 3.0 with the UWP SDK included through the NuGet package Microsoft.Windows.SDK.Contracts.

Supported Platforms

  • UWP, Windows 10 Fall Creators Update or higher (either CoreWindow or XAML)
  • WinForms (WPF also supported with XAML Islands)

Credits




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap