MtmdBitmap.fromRGB

Create from a raw RGB pixel buffer (RGBRGBRGB…). data.length must equal nx * ny * 3.

struct MtmdBitmap
static @trusted @nogc nothrow
fromRGB
(
uint nx
,
uint ny
,
scope const(ubyte)[] data
)

Meta