diff options
| author | hachem <im@hachem.wtf> | 2025-08-22 00:22:12 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-22 00:22:12 +0200 |
| commit | 01fadbecbed89afffb18b2cf5cf3972845a7a169 (patch) | |
| tree | 1faf64e41f4a9b59e8ad6f68363c590dfc089cc4 /src/Engine/Engine.h | |
| parent | 6f72049359651155be62846e7d080d7a5e871096 (diff) | |
[add]: frame exporting
Diffstat (limited to 'src/Engine/Engine.h')
| -rw-r--r-- | src/Engine/Engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Engine/Engine.h b/src/Engine/Engine.h index f3724ff..328435a 100644 --- a/src/Engine/Engine.h +++ b/src/Engine/Engine.h @@ -101,6 +101,7 @@ namespace Donut void SetEarlyExitDistance(float distance) { m_EarlyExitDistance = distance; } void LoadObjectsFromScene(const std::vector<Donut::Object>& objects); + void ExportHighResFrame(const std::string& filename, int width = 4096, int height = 3072); void PrintObjectInfo() const; private: Ref<Shader> CreateComputeProgram(const char* path); |
