Skip to content

Commit 977aac0

Browse files
committed
add viewportCount to creation parameters + no more nbl:: in the UI's cpp - using namespace!
1 parent a73014c commit 977aac0

File tree

2 files changed

+68
-63
lines changed

2 files changed

+68
-63
lines changed

include/nbl/ext/ImGui/ImGui.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ class UI final : public core::IReferenceCounted
9191

9292
//! optional, default MDI buffer allocated if not provided
9393
core::smart_refctd_ptr<typename SMdiBuffer::compose_t> streamingBuffer = nullptr;
94+
95+
//! optional, default single one
96+
uint32_t viewportCount = 1u;
9497
};
9598

9699
struct SCreationParameters : public SCachedCreationParams

0 commit comments

Comments
 (0)