/// <summary>Create a new frame pass.</summary> /// <param name="settings">Settings to use.</param> /// <param name="bufferAllocator">Buffer allocators to use.</param> /// <param name="lightFilter">If null, all light will be rendered, if not, only those light will be rendered.</param> /// <param name="requestedAOVBuffers">The requested buffers for the callback.</param> /// <param name="customPassAOVBuffers">The custom pass buffers that will be captured.</param> /// <param name="customPassBufferAllocator">Buffer allocators to use for custom passes.</param> /// <param name="callback">The callback to execute.</param> public AOVRequestData( AOVRequest settings, AOVRequestBufferAllocator bufferAllocator, List <GameObject> lightFilter, AOVBuffers[] requestedAOVBuffers, CustomPassAOVBuffers[] customPassAOVBuffers, AOVRequestCustomPassBufferAllocator customPassBufferAllocator, FramePassCallbackEx callback ) { m_Settings = settings; m_BufferAllocator = bufferAllocator; m_RequestedAOVBuffers = requestedAOVBuffers; m_CustomPassAOVBuffers = customPassAOVBuffers; m_CustomPassBufferAllocator = customPassBufferAllocator; m_LightFilter = lightFilter; m_Callback = null; m_CallbackEx = callback; }