A grease pencil layer is represented as a curve instance.
InstancesComponent
from which the (flat) list of layers is reconstructed. Some data like the visibility is important because it needs to be read for rendering. Others are not so important (like a layer being locked, which is only important for editing).All the curve nodes like "Trim Curve" should still work for instances. So they could also work for the GP layers.
We can add a subtype for grease pencil layer (-group)s.
Question: We might need a way to "merge" two grease pencil geometries. Could this be a new node?
Question: What about a GreasePencilComponent
? Could we "wrap" the InstancesComponent
?