Stray Photons is a high performance game engine with a focus on immersive VR experiences. Featuring full-hand physics interaction, seamless asynchronous scene Loading, fully interactive global illumination lighting, powerful game logic and scripting capabilities, and much more.
This PR addresses a number of issues with memory spaces not being shared across dynamically linked libraries.
The new shared import header
strayphotons.h
has been added, along with thesp.dll
/libsp.so
build targets.The new C API currently includes:
The new executables generated are thin wrappers around a single common shared sp lib:
sp-vk
: The default desktop build using GLFW for window and Vulkan context creationsp-text
: A variant ofsp-vk
linking againstglfw-egl
for headless Vulkan context creation on CI.sp-winit
: A desktop build using winit for window and Vulkan context creationAlso fixed in this PR: