VZGraphicsDevice
A class that represents a graphics device in a VM.
Declaration
class VZGraphicsDeviceOverview
You don’t instantiate a VZGraphicsDevice directly. Graphics devices are first configured on the VZVirtualMachineConfiguration through a subclass of VZGraphicsDeviceConfiguration.
When the framework creates a VZVirtualMachine from the configuration, the graphics devices are available through the graphicsDevices property.
The real type of VZGraphicsDevice corresponds to the type used by the configuration.
For example, a VZVirtioGraphicsDeviceConfiguration leads to a device of type VZVirtioGraphicsDevice and a VZMacGraphicsDeviceConfiguration leads to a device of type VZMacGraphicsDevice.