MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cell_count()

size_t MayaFlux::Kinesis::Lattice3D::cell_count ( ) const
inlinenoexcept

Total cell count.

Definition at line 36 of file Lattice.hpp.

37 {
38 return static_cast<size_t>(resolution.x) * resolution.y * resolution.z;
39 }
glm::uvec3 resolution
Cell count per axis. Zero on any axis is invalid.
Definition Lattice.hpp:26

References resolution.

Referenced by MayaFlux::Buffers::VolumeGridBuffer::accumulate(), and MayaFlux::Buffers::VolumeGridBuffer::seed().

+ Here is the caller graph for this function: