diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-20 18:31:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 18:31:56 +0200 |
commit | 160d5908c6b9df63d9812fb22c77b2c12d677c22 (patch) | |
tree | a1e3c6f9bd0c26109c930a16abc57d4881efe1bf /servers | |
parent | 8748247d6f5b65358ae69f5c44f4fdfb70633382 (diff) | |
parent | 8fa67fba4795bb3fdd62baecb0bfdf699e37707d (diff) |
Merge pull request #54027 from akien-mga/doctool-headless
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering_server.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index b3efe840b6..348d46545b 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -2810,6 +2810,12 @@ RenderingServer::RenderingServer() { PropertyInfo(Variant::INT, "rendering/vulkan/rendering/back_end", PROPERTY_HINT_ENUM, "Forward Clustered (Supports Desktop Only),Forward Mobile (Supports Desktop and Mobile)")); + // Already defined in RenderingDeviceVulkan::initialize which runs before this code. + // We re-define them here just for doctool's sake. Make sure to keep default values in sync. + GLOBAL_DEF("rendering/vulkan/staging_buffer/block_size_kb", 256); + GLOBAL_DEF("rendering/vulkan/staging_buffer/max_size_mb", 128); + GLOBAL_DEF("rendering/vulkan/staging_buffer/texture_upload_region_size_px", 64); + GLOBAL_DEF("rendering/vulkan/descriptor_pools/max_descriptors_per_pool", 64); GLOBAL_DEF("rendering/3d/viewport/scale", 1.0); ProjectSettings::get_singleton()->set_custom_property_info("rendering/3d/viewport/scale", |