Files
test2/source/blender/nodes
Hans Goudey b9a7b40924 Geometry Nodes: Get attribute domain and type without allocation
Because we use virtual classes (and for other reasons), we had to do a
small allocation when simply retrieving the data type and domain of an
existing attribute. This happened quite a lot actually-- to determine
these values for result attributes.

This patch adds a simple function to retrieve this meta data without
building the virtual array. This should lower the overhead of every
attribute node, though the difference probably won't be noticible
unless a tree has very many nodes.

Differential Revision: https://developer.blender.org/D11047
2021-04-22 08:05:02 -05:00
..
2021-04-19 10:38:50 +02:00
2021-03-22 12:23:25 +01:00
2021-04-19 10:38:50 +02:00
2021-03-26 12:28:49 +11:00