An open API service indexing awesome lists of open source software.

https://github.com/simulation-tree/windows

Windows as render destinations
https://github.com/simulation-tree/windows

csharp dotnet windowing

Last synced: 5 months ago
JSON representation

Windows as render destinations

Awesome Lists containing this project

README

          

# Windows
Abstraction library for windowing on standalone platforms.

### Example
```cs
using World world = new World();
Window mainWindow = new(world, "The Window", new(100, 100), new(800, 600), "vulkan", new(&WindowCloseRequested));
mainWindow.IsFullscreen = true;
(uint width, uint height, uint refreshRate) display = mainWindow.Display;

[UnmanagedCallersOnly]
static void WindowCloseRequested(World world, uint windowEntity)
{
world.DestroyEntity(windowEntity);
}
```