implements PLN-0067

This commit is contained in:
2026-05-23 19:15:14 +01:00
parent 4d5818c244
commit 1256d33a72
7 changed files with 103 additions and 52 deletions
@@ -35,7 +35,7 @@ These are treated as VM values with stable layout semantics.
| Type | Description |
| ------- | --------------------------------- |
| `vec2` | 2D vector (x, y) |
| `color` | Packed color value |
| `color` | Packed RGBA8888 color value |
| `pixel` | Combination of position and color |
These values:
@@ -44,6 +44,9 @@ These values:
- are copied by value;
- do not require heap allocation by themselves.
The canonical `color` raw channel order is RGBA. RGB565 is not a public VM
color contract.
### Heap values
Heap-resident entities are referenced indirectly through handles.