|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| enum MayaFlux::Nodes::NodeCapability : uint8_t |
Bitmask flags declaring what data shapes a node's context can produce.
SCALAR is guaranteed by the Node interface itself (process_sample always returns double). All other flags are opt-in: a node sets them when its NodeContext also derives from the corresponding GpuContext mixin (GpuVectorData, GpuMatrixData, GpuStructuredData).
Flags are combinable; a node may expose multiple shapes simultaneously.
Example:
| Enumerator | |
|---|---|
| SCALAR | Single double from process_sample — always present. |
| VECTOR | Context also implements GpuVectorData. |
| MATRIX | Context also implements GpuMatrixData. |
| STRUCTURED | Context also implements GpuStructuredData. |
Definition at line 104 of file NodeSpec.hpp.