Commit Graph

361 Commits

Author SHA1 Message Date
Nick Fisher
46e87fb6a4 add sources to native CMakeLists.txt 2025-05-17 10:04:33 +08:00
Nick Fisher
c47cfe9b57 transformToUnitCube returns bool (false when transform instance can't be found) 2025-05-10 09:04:06 +08:00
Nick Fisher
ebab1f528d only set mRendered to true when a frame was actually rendered 2025-05-09 11:23:13 +08:00
Nick Fisher
4a5a1d0157 remove debug printing 2025-05-09 11:22:25 +08:00
Nick Fisher
906f5bf931 remove redundant make_render_callback_fn_pointer definition 2025-05-09 11:22:08 +08:00
Nick Fisher
50c1c871a8 return false from RenderTicker when frame skipped 2025-05-09 11:20:21 +08:00
Nick Fisher
8a6ba637a7 store last render time in RenderTicker 2025-05-09 11:19:13 +08:00
Nick Fisher
2f16908992 feat! js_interop improvements 2025-05-07 17:06:38 +08:00
Nick Fisher
2ab56b86bc remove old CMake script 2025-05-07 16:53:16 +08:00
Nick Fisher
e9628511fc remove C++ includes from C headers 2025-05-07 16:53:15 +08:00
Nick Fisher
eedfbbb934 remove unused material input src files from native CMakeLists 2025-04-19 09:49:59 +08:00
Nick Fisher
4cb725d47e add Engine_destroyCamera 2025-04-19 09:49:19 +08:00
Nick Fisher
e1d5d14ff7 add RenderTarget_destroyRenderThread 2025-04-17 13:35:07 +08:00
Nick Fisher
1be1979c05 rename requestAnimationFrame to requestFrame 2025-04-17 13:34:18 +08:00
Nick Fisher
241c0fe07c recompile materials 2025-04-16 19:08:55 +08:00
Nick Fisher
426d6c4ed6 use render thread methods for all async gltf loading 2025-04-16 19:07:55 +08:00
Nick Fisher
230bb5f9f6 use render thread methods for all async gltf loading 2025-04-16 19:07:31 +08:00
Nick Fisher
3c68731fe0 ensure __FILENAME__ is defined even if ENABLE_TRACING is off 2025-04-16 18:00:50 +08:00
Nick Fisher
ef775b2e2c add GltfResourceLoader_asyncBeginLoadRenderThread 2025-04-16 18:00:31 +08:00
Nick Fisher
f272410803 update ffigen/objective_c dependencies 2025-04-16 17:59:46 +08:00
Nick Fisher
2d4342607d add async gltf resource loading 2025-04-16 17:06:51 +08:00
Nick Fisher
b6e5d2c834 update Windows/Vulkan sample app 2025-04-16 13:58:02 +08:00
Nick Fisher
7349fa2298 rename utils.h etc to vulkan_utils.h to avoid filename clashes 2025-04-16 13:48:00 +08:00
Nick Fisher
143c4a436d return nullptr if D3D device cannot create render target view 2025-04-16 13:46:04 +08:00
Nick Fisher
60e025e78d cleanup 2025-04-16 13:36:39 +08:00
Nick Fisher
de5bc5c02e cleanup 2025-04-16 13:36:26 +08:00
Nick Fisher
a1ab4186b4 logging on error and return NULL if vkTexture cannot be created 2025-04-16 13:36:08 +08:00
Nick Fisher
d3b9ae45cf (Windows) properly destroy swapchain and don't un-set current unless the swapchain being destroyed is the current swapchain 2025-04-16 13:35:40 +08:00
Nick Fisher
7dfb8a4b19 logging/header path changes 2025-04-16 13:34:45 +08:00
Nick Fisher
aaa74f0267 add missing Camera_getFov method 2025-04-16 13:28:02 +08:00
Nick Fisher
cf8e0f6ed2 rename utils.h etc to vulkan_utils.h to avoid filename clashes 2025-04-16 13:27:46 +08:00
Nick Fisher
ddba3c35ab logging 2025-04-02 23:00:44 +08:00
Nick Fisher
87d04fc2c1 properly initialize SwapChainPtr to nullptr 2025-04-02 23:00:27 +08:00
Nick Fisher
f7a7b6bedf add EMSCRIPTEN_KEEPALIVE to swap chain flags 2025-04-02 22:26:03 +08:00
Nick Fisher
7b0550c713 manually define SceneLayer enum 2025-04-02 22:25:42 +08:00
Nick Fisher
ec8248e10c Windows logging compatibility 2025-04-02 22:25:03 +08:00
Nick Fisher
e407e75389 add EMSCRIPTEN_KEEPALIVE to swap chain flags 2025-04-02 22:23:47 +08:00
Nick Fisher
342ff58cbe finish all pending tasks before joining RenderThread on destruction 2025-04-02 22:23:21 +08:00
Nick Fisher
68842fb4ce update Overlay enum references 2025-04-02 22:22:55 +08:00
Nick Fisher
88f229481d remove old includes 2025-04-02 22:22:36 +08:00
Nick Fisher
09b2a924af (Windows) define M_PI 2025-04-02 22:22:05 +08:00
Nick Fisher
a08cc7aa62 update Windows Vulkan implementation 2025-04-02 22:20:21 +08:00
Nick Fisher
9d4fd4d6d4 remove camutils 2025-04-02 22:19:42 +08:00
Nick Fisher
e8aa68beb4 update Vulkan implementation headers 2025-04-02 22:19:19 +08:00
Nick Fisher
178da458ad update materials 2025-04-02 22:15:38 +08:00
Nick Fisher
508c184f1a add missing Filament headers for Windows 2025-04-02 22:15:11 +08:00
Nick Fisher
99217499f9 remove old SceneManager references 2025-03-28 15:55:35 +08:00
Nick Fisher
b083c62bd4 recompile materials 2025-03-28 15:55:35 +08:00
Nick Fisher
ddc5fedc4d recompile materials 2025-03-28 15:55:35 +08:00
Nick Fisher
ecb8d8672a fix instancing so that gltf assets always fill the first instance slot 2025-03-28 13:06:36 +08:00