implements PLN-0067
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user