Initializer

init(width:height:bitsPerPixel:)

Returns a new, initialized buffer of the specified size and bits per pixel.

Declaration

init(width: Int, height: Int, bitsPerPixel: UInt32) throws