You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: