|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| ScalarRef MayaFlux::Buffers::VolumeGridBuffer::declare_scratch | ( | std::string | name | ) |
Declare a single-slot scalar field.
| name | Lookup key, unique within this volume. |
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 172 of file VolumeGridBuffer.cpp.
References allocate_field(), and MayaFlux::Buffers::ScalarRef::name.
Here is the call graph for this function: