Raylib is an superior free and open supply sport growth framework written utilizing the C programming language. One of many greatest strengths of Raylib past it’s ease of use, wonderful examples and a number of language bindings is its skill to run on a wide range of completely different platforms with zero exterior dependencies. Properly that power simply bought even stronger with the discharge of rlsw.h, a single header software program renderer for Raylib that removes the dependency of OpenGL, that means Raylib functions will be capable of run on machines with none type of GPU.
On Twitter, Raylib founder RaySan5 posted the next:
Particulars from the header feedback of rlsw.h:
DESCRIPTION:
rlsw is a customized OpenGL 1.1-style implementation on software program, supposed to supply all performance out there on rlgl.h library utilized by raylib, turning into a direct software program rendering substitute for OpenGL 1.1 backend and permitting to run raylib on GPU-less gadgets when requiredFEATURES:
- Rendering to customized inside framebuffer with a number of shade modes supported:
- Colour buffer: RGB – 8-bit (3:3:2) | RGB – 16-bit (5:6:5) | RGB – 24-bit (8:8:8)
- Depth buffer: D – 8-bit (unorm) | D – 16-bit (unorm) | D – 24-bit (unorm)
- Rendering modes supported: POINT, LINES, TRIANGLE, QUADS
- Further options: Polygon modes, Level width, Line width
- Clipping assist for all rendering modes
- Texture options supported:
- All uncompressed texture codecs supported by raylib
- Texture Minification/Magnification checks
- Level and Bilinear filtering
- Texture Wrap Modes with separate checks for S/T coordinates
- Vertex Arrays assist with direct primitive drawing mode
- Matrix Stack assist (Matrix Push/Pop)
- Different GL misc options:
- GL-style getter features
- Framebuffer resizing
- Perspective correction
- Scissor clipping
- Depth testing
- Mix modes
- Face culling
Key Hyperlinks
You’ll be able to be taught extra concerning the new software program renderer for Raylib, rlsw.h within the video beneath.