Repository navigation
TLDR
The biggest changes with this release are the addition of realistic sky/atmosphere rendering, an initial CPU graphics backend, and moving both the graphics and shader extensions into their own binaries.
There are also a few smaller API and backend improvements, including trickled IO support for low framerates, a swapchain-like blit operation for windows, and some cleanup to the build target API in the build system.
Changelog
Breaking Changes
plShaderI v2.0.1
- moved shader extension to a separate binary (pl_shader_ext.dll/.so/.dylib)
pl-build v2.0.0
- removed bool parameters for targets
- added keyword arguments for reloadable, cache, and max_cache_age_mins
plGraphicsI v2.1.3
- moved graphics extension to a separate binary (pl_graphics_ext.dll/.so/.dylib)
Update Examples
Loading extensions will now require explicitly loading graphics/shader:
// load extensions
ptExtensionRegistry->load("pl_unity_ext", nullptr, nullptr, true);
ptExtensionRegistry->load("pl_platform_ext", "pl_load_platform_ext", "pl_unload_platform_ext", false);
ptExtensionRegistry->load("pl_dear_imgui_ext", "pl_load_dear_imgui_ext", "pl_unload_dear_imgui_ext", false);
ptExtensionRegistry->load("pl_shader_ext", "pl_load_shader_ext", "pl_unload_shader_ext", true);
ptExtensionRegistry->load("pl_graphics_ext", "pl_load_graphics_ext", "pl_unload_graphics_ext", true);
// cpu backend (use these instead of the graphics/shader above
// ptExtensionRegistry->load("pl_shader_cpu_ext", "pl_load_shader_ext", "pl_unload_shader_ext", true);
// ptExtensionRegistry->load("pl_graphics_cpu_ext", "pl_load_graphics_ext", "pl_unload_graphics_ext", true);Features
plRenderer
- added realistic sky/atmosphere rendering
plIOI v1.2.0
- added trickled IO support for low framerates
plGraphicsI v2.1.3
- added initial CPU graphics backend
plWindowI v2.1.0
- added swapchain-like blit operation functions (used by graphics cpu backend)
Fixes
plGraphicsI v2.1.3
- fixed Vulkan backend issue where dynamic bindings didn't work unless other bind groups were also set
- fixed Metal backend not setting the viewport/scissor when beginning a render pass, which caused inconsistent behavior between backends