summaryrefslogtreecommitdiff
path: root/alligator_render/src/config.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-05 12:44:37 -0500
committerMicha White <botahamec@outlook.com>2023-02-05 12:44:37 -0500
commit7c3956da9005e204f8b140cd569022568de53824 (patch)
tree31821716f946499cfbafe7d38f8c6c7d07df5634 /alligator_render/src/config.rs
parent699fe35086d38b5e70cd476232bb79554cd39511 (diff)
Allow for buffers larger than 256 MB
Diffstat (limited to 'alligator_render/src/config.rs')
-rw-r--r--alligator_render/src/config.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/alligator_render/src/config.rs b/alligator_render/src/config.rs
index 952e885..e342657 100644
--- a/alligator_render/src/config.rs
+++ b/alligator_render/src/config.rs
@@ -67,7 +67,9 @@ pub struct RenderWindowConfig<'a> {
pub vsync: bool,
/// The initial capacity of the instance buffer. The size will increase if
/// it's not large enough. Increasing this value may improve performance
- /// towards the beginning, if a lot of instances are being created.
+ /// towards the beginning, if a lot of instances are being created. For
+ /// compatibility with older devices, it's recommended to keep this number
+ /// below 150 thousand.
pub instance_capacity: usize,
}