These functions are used to obtain information about the bit-depth of windows.
const NSWindowDepth *NSAvailableWindowDepths(void)
NSWindowDepth NSBestDepth(NSString *colorSpace, int bps, int bpp, BOOL planar, BOOL *exactMatch)
int NSBitsPerPixelFromDepth(NSWindowDepth depth)
int NSBitsPerSampleFromDepth(NSWindowDepth depth)
NSString *NSColorSpaceFromDepth(NSWindowDepth depth)
int NSNumberOfColorComponents(NSString *colorSpaceName)
BOOL NSPlanarFromDepth(NSWindowDepth depth)