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
Right now, the only chance the user has to configure a batch is after they setup everything, and get an batch reference. Should be able to pass a config item with an added layer, when adding it.
The text was updated successfully, but these errors were encountered:
As part of this, I probably also need to create a factory for shader programs. This way, if the user knows they'll never use opacity or a tint on a set of Actors, they can use the config object to avoid the (costly on iPad 1) mul op in the fragment shader. If I pair that with a singleton of some kind, there are other optimizations that can happen in there, like a way to check for unnecessary state change operations between layers/batches.
Right now, the only chance the user has to configure a batch is after they setup everything, and get an batch reference. Should be able to pass a config item with an added layer, when adding it.
The text was updated successfully, but these errors were encountered: