display-planes

display-planes is a compiled Lisp function in `frame.el'.

(display-planes &optional DISPLAY)

Return the number of planes supported by DISPLAY.
DISPLAY can be a display name or a frame.
If DISPLAY is omitted or nil, it defaults to the selected frame's display.