Best/simplest way to play animation clips currently in DOTS

What is the best way and also as simple as possible to play an animation clip from within a DOTS system ? I’ve found references on the internet about a DOTS experimental animation system but I couldn’t find any examples or packages that I can use…

Example:

  • Bake animation frames into an array of floats (where every 3 floats represents single float3) for every vertex. This can be a texture but array is faster (no texture sampler overhead).
  • Create a (instancing) shader that updates vertex position interpolating between those frames
  • Maintain and send animation state data as Unity.Rendering.MaterialProperty-ies