Function PixelFormat.bytesPerPixel

Gets the how many bytes needed to represent a pixel in the dsdl2.PixelFormat

ulong bytesPerPixel() @property @trusted const;

Returns

the bytes per pixel value of the dsdl2.PixelFormat