bevyengine / bevyengine/bevy

Allow custom GPU diagnostics buffer size

Open
#24,468 1 comment 0 reactions 0 assignees View on GitHub
A-Diagnostics A-Rendering C-Feature S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

In a complex compute scene I am hitting the limits of [MAX_TIMESTAMP_QUERIES](https://github.com/bevyengine/bevy/blob/564eb4fc3383b7b61d871ce1c28318f79459c56c/crates/bevy_render/src/diagnostic/internal.rs#L24)

## What solution would you like?

Allow the developer to set their preferred limit.

## What alternative(s) have you considered?

Double the constant from `256` to `512`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.