copyPixels

Copy a view's pixels (top-to-bottom) to a StorageType buffer. Rows are assumed to be StorageType.sizeof-aligned.

void
copyPixels
(
SRC
StorageType
)
(
auto ref SRC src
,
StorageType[] dst
)
if (
isView!SRC &&
is(StorageColor!StorageType == ViewColor!SRC)
)

Meta