pixels property
The herringbone wang tile data; it is a bitmap which is either w=2short_sidelen,h=short_sidelen, or w=short_sidelen,h=2short_sidelen. it is always RGB, stored row-major, with no padding between rows. (allocate stbhw_tile structure to be large enough for the pixel data)
Implementation
@ffi.Array.multi([1])
external ffi.Array<ffi.UnsignedChar> pixels;