|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| ScalarRef MayaFlux::Buffers::VolumeGridBuffer::declare_scratch | ( | std::string | name, |
| Kinesis::LatticeSemantics | semantics = {} |
||
| ) |
Declare a single-slot scalar field.
| name | Lookup key, unique within this volume. |
| semantics | What the values mean. A divergence field wants |
Read and write resolve to one handle, which suits a quantity recomputed from other fields every cycle and never carried across cycles: divergence is the ordinary case. A stage that reads a neighbourhood of a field it also writes cannot use one of these, and VolumeFieldProcessor rejects that arrangement at attach.
Definition at line 177 of file VolumeGridBuffer.cpp.
References allocate_field(), MayaFlux::Buffers::ScalarRef::name, and name.
Here is the call graph for this function: