- hsl-array-at pointer width height #!optional pitchprocedure
- hsl-array-parent hsl-array_1procedure
- set! (hsl-array-parent hsl-array_1) parentsetter
hsl-array-at creates an hsl-array which reads and writes to the memory at pointer, which can be a pointer or a locative. If pitch is omitted, it defaults to (* width 16). The memory starting at pointer must be at least (* pitch height) bytes long, containing groups of four 32-bit floats in the order h, s, l, a.
hsl-array-parent gets or sets the hsl-array's parent, which can be any object that the array depends on. This reference prevents the parent from being garbage collected while the array is still accessing the parent's memory.