Refresh is now obsolete, as all of its functionality has been improved and upstreamed in the new SDL GPU API: https://wiki.libsdl.org/SDL3/CategoryGPU The code will be archived for posterity, but it should not be used. Go check out SDL3!
This is Refresh, an XNA-inspired 3D graphics library with modern capabilities.
Refresh is licensed under the zlib license. See LICENSE for details.
Refresh is directly inspired by FNA3D and intended to be a replacement for XNA's Graphics namespace. XNA 4.0 is a powerful API, but its shader system is outdated and certain restrictions are awkward to handle in a modern context. In the way that XNA was "one step above" DX9, Refresh intends to be "one step above" Vulkan. It should map nicely to modern graphics APIs. Refresh will initially have a Vulkan runtime implementation. Support for other APIs like DX12 may come later. For shaders, we consume SPIR-V bytecode.
Refresh depends on SDL2 for portability. Refresh never explicitly uses the C runtime.
For *nix platforms, use CMake:
$ mkdir build/
$ cd build/
$ cmake ../
$ make
For Windows, use the Refresh.sln in the "visualc" folder.
Issues can be reported and patches contributed via Github: