Skip to content

Support for updating point metadata without recreating coordinate index #174

@TheStanian

Description

@TheStanian
  • Check for duplicate issues.
  • Describe the feature's goal, motivating use cases, its expected behavior, and impact.
  • If you are proposing a new API, please explain how the current APIs fail to support your goal.
  • If you are proposing to change an existing API, please explain if your proposed is backward compatible or incompatible.
  • If applicable, include screenshots, GIFs, videos, or working examples.

Right now, the only way of updating the point metadata (valueA and valueB, or whichever alias you prefer) is to do a full draw call including coordinate data. I have a specific application in which only the color indices for the points would change, leading to the rebuilding of the KDBush, which is in this case a major unnecessary slowdown (10m+ points). I would like to see a way to change only the point metadata, so the rebuild doesn't need to occur. This could for example take the form of taking the existing state texture management as used in setPoints and exposing that on its own, using the currently available points. Doing so would not break backwards compatibility with anything whatsoever.

Thank you for your consideration and with kind regards,

Stan

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementFeature improvement or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions