Blender V5.3
blender::nodes::node_geo_xpbd_solver_cc::Geometries Struct Reference

Public Attributes

Vector< GeometrySetData > geometry_sets
VectorSet< DataKey > data_keys
Vector< GeometryData * > data
Vector< GeometryDataChunk > chunks
int max_chunk_size = -1
int64_t total_points_num = -1
std::array< Array< xpbd::GeometryRef >, 2 > solver_refs

Detailed Description

Definition at line 403 of file node_geo_xpbd_solver.cc.

Member Data Documentation

◆ chunks

Vector<GeometryDataChunk> blender::nodes::node_geo_xpbd_solver_cc::Geometries::chunks

By having static chunks, across the entire solve step allows for more efficient multi-threading (and preparation for multi-threading).

Definition at line 413 of file node_geo_xpbd_solver.cc.

◆ data

Vector<GeometryData *> blender::nodes::node_geo_xpbd_solver_cc::Geometries::data

Definition at line 407 of file node_geo_xpbd_solver.cc.

◆ data_keys

VectorSet<DataKey> blender::nodes::node_geo_xpbd_solver_cc::Geometries::data_keys

Definition at line 406 of file node_geo_xpbd_solver.cc.

◆ geometry_sets

Vector<GeometrySetData> blender::nodes::node_geo_xpbd_solver_cc::Geometries::geometry_sets

Definition at line 404 of file node_geo_xpbd_solver.cc.

◆ max_chunk_size

int blender::nodes::node_geo_xpbd_solver_cc::Geometries::max_chunk_size = -1

Definition at line 414 of file node_geo_xpbd_solver.cc.

◆ solver_refs

std::array<Array<xpbd::GeometryRef>, 2> blender::nodes::node_geo_xpbd_solver_cc::Geometries::solver_refs

Two arrays of geometry references are used because the arrays containing the previous and current positions/rotations are swapped for different time steps to avoid unnecessary copying.

Index 0: Previous data is stored in temporary arrays, current data in the geometry attributes. Index 1: Previous data is stored in the geometry attributes, current data in temporary arrays.

Definition at line 424 of file node_geo_xpbd_solver.cc.

◆ total_points_num

int64_t blender::nodes::node_geo_xpbd_solver_cc::Geometries::total_points_num = -1

Definition at line 415 of file node_geo_xpbd_solver.cc.


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