Contents

bitsPerSample

Returns the bits per sample for the specified window depth.

Declaration

var bitsPerSample: Int { get }

Discussion

Returns the number of bits per sample (bits per pixel in each color component) for the window depth specified by depth.

See Also

Working with Window Depths