MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::DecimatePartsMode Struct Reference
Inheritance diagram for meshlib::DecimatePartsMode:

Static Public Attributes

static const meshlib::DecimatePartsMode PackedMesh
 the mesh is already packed optimally (e.g. by mesh.packOptimally()), and the parts are ranges of face ids
static const meshlib::DecimatePartsMode AABBTree

Detailed Description

Defines how decimation finds the parts of the mesh for parallel processing (DecimateSettings::subdivideParts > 1)

Generated from enum MR::DecimatePartsMode. The constants are associated constants of this type.

Member Data Documentation

◆ AABBTree

const meshlib::DecimatePartsMode meshlib::DecimatePartsMode::AABBTree
static

the parts are subtrees of mesh's AABB tree (taken from the mesh if present, otherwise constructed), no packing is needed; the number of parts is rounded up to a power of two

◆ PackedMesh

const meshlib::DecimatePartsMode meshlib::DecimatePartsMode::PackedMesh
static

the mesh is already packed optimally (e.g. by mesh.packOptimally()), and the parts are ranges of face ids


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