john-chapman/im3d

Layers

Closed this issue · 0 comments

  • Simple way to group vertex data without creating separate contexts (e.g. to draw all gizmos into a separate layer).
  • Push/pop layer ID; internally map layer ID -> vertex data list index. Clear the map per frame?
  • Pass layer ID to the draw function via the draw list.
  • Gizmos in a separate layer by default?