Skip to content
Ahmed Fathi Bekhit edited this page Nov 4, 2017 · 1 revision

Protocol

RenderARDelegate

RenderARDelegate protocol that defines a method triggered when the ARSCNView or ARSKView content is rendered with the device's camera stream.


Topics

Processing rendered buffers

func frame(didRender buffer:CVPixelBuffer, with time:CMTime, using rawBuffer:CVPixelBuffer)

A protocol method that is triggered when a frame renders the ARSCNView or ARSKView content with the device's camera stream.

  • buffer: A CVPixelBuffer object that returns the rendered buffer.
  • time: A CMTime object that returns the time a buffer was rendered with.
  • rawBuffer: A CVPixelBuffer object that returns the raw buffer.