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

Static Public Attributes

static const meshlib::MarchingCubesParams_CachingMode Automatic
static const meshlib::MarchingCubesParams_CachingMode None
 don't cache any data
static const meshlib::MarchingCubesParams_CachingMode Normal
 allocates 2 full slices per parallel thread

Detailed Description

caching mode to reduce the number of accesses to voxel volume data on the first pass of the algorithm by consuming more memory on cache; note: the cache for the second pass of the algorithm (bit sets of invalid and lower-than-iso voxels are always allocated)

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

Member Data Documentation

◆ Automatic

const meshlib::MarchingCubesParams_CachingMode meshlib::MarchingCubesParams_CachingMode::Automatic
static

choose caching mode automatically depending on volume type (current defaults: Normal for FunctionVolume and VdbVolume, None for others)

◆ None

const meshlib::MarchingCubesParams_CachingMode meshlib::MarchingCubesParams_CachingMode::None
static

don't cache any data

◆ Normal

const meshlib::MarchingCubesParams_CachingMode meshlib::MarchingCubesParams_CachingMode::Normal
static

allocates 2 full slices per parallel thread


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