Note: This repository contains an in-development new version of Veldrid. Older versions of Veldrid can be found in the Veldrid-legacy repository.
Veldrid is a cross-platform, graphics API-agnostic rendering library for .NET. It allows you to use a single set of rendering commands and run your application on a number of different graphics API's. With some small exceptions, applications written against Veldrid will run on any of its backends without modification.
Supported backends:
- Direct3D 11
- Vulkan
- OpenGL 3
Veldrid uses the standard .NET Core tooling. Install the tools and build normally (dotnet restore && dotnet build
).
Run the RenderDemo program to see a quick demonstration of the rendering capabilities of the library.
The recommended way to reference Veldrid is via source. Veldrid includes some debug-only validation code which is disabled in release builds.