Function

IOSurfaceGetPlaneCount

Declaration

size_t IOSurfaceGetPlaneCount(IOSurfaceRef buffer);

Discussion

Return the number of planes in this buffer. May be 0. Returns 0 for an invalid or NULL buffer pointer.