code: func (ml MetalLayer) SetDevice(device mtl.Device) {
  	C.MetalLayer_SetDevice(ml.metalLayer, device.Device())
  }
docs: // SetDevice sets the Metal device responsible for the layer's drawable resources.
  //
  // Reference: https://developer.apple.com/documentation/quartzcore/cametallayer/1478163-device.