|
Blender V5.3
|
#include <BKE_geometry_fields.hh>
Classes | |
| struct | None |
| struct | Domain |
| struct | Constant |
Public Member Functions | |
| NativeFieldDomain (const None &) | |
| NativeFieldDomain (const Domain &domain) | |
| NativeFieldDomain (const Constant &) | |
Public Attributes | |
| std::variant< None, Domain, Constant > | variant |
Information about a field input's relationship with the domain of the data it represents.
If the native field domain is Point/Face, evaluating the field on the corner domain is identical to evaluating it on the native domain and copying the values to corners afterwards. If the native field domain is Curve, evaluating it on the point domain is identical to evaluating it on the curve domain and copying the values to the points afterwards. Of course, copying the values to the more complex domain can be skipped if the algorithm can be optimized to use the data directly from the smaller domain.
Definition at line 231 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 247 of file BKE_geometry_fields.hh.
References variant.
Referenced by blender::bke::AttributeFieldInput::native_domain_info().
|
inline |
Definition at line 248 of file BKE_geometry_fields.hh.
References variant.
|
inline |
Definition at line 249 of file BKE_geometry_fields.hh.
References variant.
Definition at line 245 of file BKE_geometry_fields.hh.
Referenced by NativeFieldDomain(), NativeFieldDomain(), NativeFieldDomain(), and blender::bke::try_detect_native_field_domain().