rename from *FFI to *RenderThread, return bool from render() to check frame timings, update render loop to wait on condition variable, add requestFrame() method

This commit is contained in:
Nick Fisher
2024-09-21 10:21:46 +08:00
parent b5a7996769
commit 57872d2e40
14 changed files with 1170 additions and 1135 deletions

View File

@@ -75,7 +75,7 @@ namespace thermion_filament
void clearEntities();
void updateViewport(uint32_t width, uint32_t height);
void render(
bool render(
uint64_t frameTimeInNanos,
void *pixelBuffer,
void (*callback)(void *buf, size_t size, void *data),