Documentation / Node reference / compute nodes
compute/Buffer
Holds an attribute, the primitives' points, or zeros, for a compute run.
Resources
Builders read and write it. A code/Buffer reaches it through the builder input it is wired to, a code/Attribute by its attribute name. An UNSET buffer suits an intermediate result, like a sum.
Parameters
| Name | Type | What it does |
|---|---|---|
| contents | UInt8 ATTRIBUTE · INDEX_BUFFER · UNSET | What the buffer holds when the run starts. |
| attribute | AttributeName | The attribute of the computed object. |
| entity | UInt8 POINT · EDGE · PRIMITIVE · OBJECT · STAGE | Point or primitive attribute. |
| count | UInt32 | Number of elements, when 'size like' is not connected. |
| components | UInt8 | Floats per element, when 'size like' is not connected. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.