         }
         return nil
     }
-
+    
+    #if USE_ARKIT
+    
     /// SCNSceneRendererDelegate hook for rendering
     ///
     /// - Parameters:

        self._commandQueue = nil
        self._renderPassDescriptor = nil
        self._texture = nil

        self._ciContext = nil
        self._pixelBufferPool = nil
        self._videoBufferOutput = nil

    ///   - time: SCNSceneRendererDelegate time
    public func renderer(_ renderer: SCNSceneRenderer, didRenderScene scene: SCNScene, atTime time: TimeInterval) {
        guard let arView = self._arView,
            let pixelBuffer = arView.session.currentFrame?.capturedImage,
            let pointOfView = arView.pointOfView,
            let device = self._device else {
                return
        }
        
        self.setupContextIfNecessary()
