channelCount
TypeScriptstatic get channelCount(): numberSwift declarationstatic var channelCount: Int { get }The number of channels in a pixel.
struct · iOS 16.0+ · SDK 27.1
struct Planar16FA single-channel, 16-bit per channel buffer.
static get channelCount(): numberSwift declarationstatic var channelCount: Int { get }The number of channels in a pixel.
static get bitCountPerPixel(): numberSwift declarationstatic var bitCountPerPixel: Int { get }Returns the number of bits allocated for a single pixel in a pixel buffer.
static get bitCountPerComponent(): numberSwift declarationstatic var bitCountPerComponent: Int { get }Returns the number of bits allocated for a single color component of a pixel buffer.
static makePixel(source: number): numberSwift declarationstatic func makePixel(_ source: Pixel_F) -> Pixel_16FUtility function to generate a `Pixel_16F` pixel value from a `Pixel_F` pixel value.
No declarations were skipped in this snapshot.