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

Implement generic solution to non-zero default sprite attribute values #81

Open
jimbojw opened this issue Oct 21, 2022 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@jimbojw
Copy link
Collaborator

jimbojw commented Oct 21, 2022

Currently, all sprite attribute values default to 0. This makes initialization easy since a freshly allocated texture will have zeros flashed throughout. When a sprite is released, its swatch of texture data is flashed back to 0 before that swatch is reused.

Instead, Megaplot should implement a generic solution for specifying non-zero default values. This new mechanism should be used to support TransitionTimeMs, which currently receives special treatment.

Design consideration: provide an API for the user to override any or all sprite attribute default values.

@jimbojw jimbojw added this to the V0.2.0 milestone Mar 14, 2023
@jimbojw jimbojw added the enhancement New feature or request label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant