We already have different storages for cddata of verts, edges etc.,
'simply' do the same for the mask flags we use all around Blender code
to request some data, or limit some operation to some layers, etc.
Reason we need this is that some cddata types (like Normals) are
actually shared between verts/polys/loops, and we don’t want to generate
clnors everytime we request vnors!
Some notes:
- This is probably better for after Spring render crunch (while nothing especially risky here, the size of the patch makes it quiet sensible to typos/copy/paste mistakes and the like :/ ).
- Naming is open to discussion, this is merely 'placeholder' names I used for CustomData_Masks struct especially.
- DEG area does not seems to be keen to re-use C structs, so for now just put all five masks as raw uint64_t values, guess this is not the way to go here, just not sure how to do it?
- Use case triggering that patch: T59338, for datatransfer modifier I need to be able to request CD_NORMAL on loops for 'target' (aka source) object.