Function

NSAvailableWindowDepths

Returns the available window depth values.

Declaration

const NSWindowDepth * NSAvailableWindowDepths(void);

Discussion

Returns a null-terminated array of NSWindowDepth values that specify which window depths are currently available. Window depth values are converted to specific display properties using the functions NSBitsPerPixelFromDepth, NSBitsPerSampleFromDepth, NSColorSpaceFromDepth, and NSPlanarFromDepth.

See Also

Working with Window Depths

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.

NSPlanarFromDepth

Returns whether the specified window depth is planar.