Dds.getPixel

Get a specifix pixel casted into a struct T. Size of T must match bytes per pixel.

struct Dds
ref
T
getPixel
(
T = ubyte[4]
)
(
in size_t x
,
in size_t y
,
uint mipmap = 0
)

Meta