device The Metal device where the scene renders. Declarationvar device: any MTLDevice Mentioned inUsing Metal performance shaders to create custom postprocess effects