Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/picoe/eto.veldrid
Veldrid control for Eto.Forms
https://github.com/picoe/eto.veldrid
direct3d eto metal opengl spir-v veldrid vulkan
Last synced: 5 days ago
JSON representation
Veldrid control for Eto.Forms
- Host: GitHub
- URL: https://github.com/picoe/eto.veldrid
- Owner: picoe
- License: mit
- Created: 2019-04-09T05:15:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T14:41:23.000Z (5 months ago)
- Last Synced: 2024-06-20T06:40:54.367Z (5 months ago)
- Topics: direct3d, eto, metal, opengl, spir-v, veldrid, vulkan
- Language: C#
- Homepage:
- Size: 507 KB
- Stars: 14
- Watchers: 5
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Eto.Veldrid
===========Provides a control to embed the [Veldrid](https://veldrid.dev) graphics library in the [Eto.Forms](https://github.com/picoe/Eto) GUI framework. Based on the Veldrid [Getting Started](https://veldrid.dev/articles/getting-started/intro.html) tutorial, and integrated into Eto in the vein of [etoViewport](https://github.com/philstopford/etoViewport) (thanks Phil!).
### Notes
- Shaders are written in Vulkan-style GLSL, and cross-compiled to the target backend using [Veldrid.SPIRV](https://github.com/mellinoe/veldrid-spirv).- In Directories.Build.props and .targets you'll find extra properties and targets to clean up the output directories. This is only cosmetic, but Veldrid does pull in its fair share of dependencies, as do .NET Framework versions prior to 4.7.2, and this helps organize things. Feel free to ignore it in your own projects if you disagree.
- To help the GUI executables find the relocated DLLs, each GUI project has an App.config file with a `` element containing a `privatePath` attribute that allows assemblies to be found in subdirectories. There are no App.config files in .NET Core projects, however, so if you venture off in that direction you'll need to figure that out yourself.- All backends have been tested on all platforms that support them, with two exceptions: Vulkan in macOS (it may be technically possible through MoltenVK, but it hasn't been tested just yet) and OpenGLES on any platform. Please feel free to open issues about your experience with any backend or platform, whether that experience is a success or a failure.
Browse the code, fiddle with it to your heart's content, and take advantage of whatever's useful, but please don't take this to be the most efficient, production-quality approach to writing custom Eto controls, using Veldrid, or generally doing modern graphics coding.