Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse samplers #5

Closed
cart opened this issue May 8, 2020 · 1 comment
Closed

Reuse samplers #5

cart opened this issue May 8, 2020 · 1 comment
Labels
A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible C-Performance A change motivated by improving speed, memory usage or compile times

Comments

@cart
Copy link
Member

cart commented May 8, 2020

Bevy currently creates new samplers for each texture. This isn't efficient given that there is a small number of possible samplers. It probably makes sense to prevent duplicates.

@cart cart added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen labels May 8, 2020
@alice-i-cecile alice-i-cecile added the C-Performance A change motivated by improving speed, memory usage or compile times label Mar 7, 2021
pcwalton referenced this issue in pcwalton/bevy Aug 30, 2021
Keep translation Z value, used by bevy for sprite layering
@james7132
Copy link
Member

Closing this in favor of #7585, as the discussion has mostly been going on there.

kettle11 pushed a commit to kettle11/bevy that referenced this issue May 29, 2024
bytemunch pushed a commit to bytemunch/bevy that referenced this issue Jun 18, 2024
tychedelia pushed a commit to tychedelia/bevy that referenced this issue Nov 23, 2024
…ng-a-naga-module-with-missing-import

add check for imports when creating shader
aevyrie pushed a commit to aevyrie/bevy that referenced this issue Jan 20, 2025
Fix some comments meters units
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible C-Performance A change motivated by improving speed, memory usage or compile times
Projects
None yet
Development

No branches or pull requests

3 participants