Orrery Terrain · OrreryTerrainCore module · function
Native::
EncodeBrushMaskRecord
ExperimentalAppend the full BrushMask payload of Mask: its hash, its canonical size, then the smaller of the two codecs.
Declaration
void EncodeBrushMaskRecord(const FBrushMask& Mask, std::vector<uint8_t>& Out);- Header
#include "Native/Net/NetRecord.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Pure, any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Mask | const FBrush | — | — |
Out | std:: | — | — |
Note.
Pure, any thread. O(samples); allocates the coded bytes.