class ARSessionBuffersHelper (Niantic.ARDK.Rendering.ARSessionBuffersHelper)
Overview
class ARSessionBuffersHelper { public: // methods static void AddAfterRenderingBuffer(Camera camera, CommandBuffer commandBuffer); static void AddBackgroundBuffer(Camera camera, CommandBuffer commandBuffer); static void IssuePluginEventAndData( this CommandBuffer commandBuffer, IARSession arSession ); static void RemoveAfterRenderingBuffer( Camera camera, CommandBuffer commandBuffer ); static void RemoveBackgroundBuffer(Camera camera, CommandBuffer commandBuffer); };
Detailed Documentation
Methods
static void IssuePluginEventAndData( this CommandBuffer commandBuffer, IARSession arSession )
Adds an IssuePluginEventAndData step to the provided commandBuffer. This method must be called and the given command buffer must be executed in order to receive AR updates on Android devices.
Parameters:
commandBuffer |
The command buffer to add the IssuePluginEventAndData step to. |
arSession |
The AR session to fetch updates for. |