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

◆ element_count()

size_t MayaFlux::Kakshya::ImageData::element_count ( ) const
inline

Number of pixel elements (not bytes), dispatched on variant.

Definition at line 131 of file ImageData.hpp.

132 {
133 return std::visit(
134 [](const auto& vec) { return vec.size(); },
135 pixels);
136 }

References pixels.

Referenced by allocate().

+ Here is the caller graph for this function: