Function

NSPlanarFromDepth

Returns whether the specified window depth is planar.

Declaration

BOOL NSPlanarFromDepth(NSWindowDepth depth);

Discussion

Returns YES if the specified window depth is planar and NO if it is not.

See Also

Working with Window Depths

NSAvailableWindowDepths

Returns the available window depth values.

NSBestDepth

Attempts to return a window depth adequate for the specified parameters.

NSBitsPerPixelFromDepth

Returns the bits per pixel for the specified window depth.

NSBitsPerSampleFromDepth

Returns the bits per sample for the specified window depth.

NSColorSpaceFromDepth

Returns the name of the color space corresponding to the passed window depth.

NSNumberOfColorComponents

Returns the number of color components in the specified color space.