Blender V5.0
blender::bke::bake::BakeSocketConfig Struct Reference

#include <BKE_bake_items_socket.hh>

Public Attributes

Vector< eNodeSocketDatatypetypes
Vector< AttrDomaindomains
Vector< StringRefnames
Vector< Vector< int, 1 > > geometries_by_attribute

Detailed Description

Describes how bake items should be mapped to sockets.

Definition at line 24 of file BKE_bake_items_socket.hh.

Member Data Documentation

◆ domains

Vector<AttrDomain> blender::bke::bake::BakeSocketConfig::domains

The domain on which an the attribute corresponding to the socket should be stored (only used for some socket types).

Definition at line 31 of file BKE_bake_items_socket.hh.

Referenced by blender::nodes::node_geo_bake_cc::make_bake_socket_config(), blender::nodes::node_geo_simulation_cc::make_bake_socket_config(), and blender::bke::bake::move_socket_values_to_bake_items().

◆ geometries_by_attribute

Vector<Vector<int, 1> > blender::bke::bake::BakeSocketConfig::geometries_by_attribute

Determines which geometries a field socket should be evaluated on. This can be used to implement rules like a field should only be evaluated on the preceding or on all geometries.

Definition at line 38 of file BKE_bake_items_socket.hh.

Referenced by blender::nodes::node_geo_bake_cc::make_bake_socket_config(), blender::nodes::node_geo_simulation_cc::make_bake_socket_config(), and blender::bke::bake::move_socket_values_to_bake_items().

◆ names

◆ types


The documentation for this struct was generated from the following file: