bevyengine / bevyengine/bevy

`bevy_gizmos`: Retained text gizmos

Open
#23,000 0 comments 0 reactions 0 assignees View on GitHub
A-Gizmos A-Text C-Feature C-Performance 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?

The layouts and line geometry for text gizmos is regenerated every frame. This isn't that much of a problem as text gizmos are mostly intended for drawing short sections of text, like labels and numbers. We could get better performance by retaining the output though, updating it only on changes to the text.

## What solution would you like?

I don't know enough about the exisiting retained gizmos support to have an informed opinion on the design.

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.