We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174269d commit 4a2dfd9Copy full SHA for 4a2dfd9
include/libfreenect2/frame_listener.hpp
@@ -120,6 +120,7 @@ class LIBFREENECT2_API FrameListener
120
* libfreenect2 calls this function when a new frame is decoded.
121
* @param type Type of the new frame.
122
* @param frame Data of the frame.
123
+ * @return true if you want to take ownership of the frame, i.e. reuse/delete it. Will be reused/deleted by caller otherwise.
124
*/
125
virtual bool onNewFrame(Frame::Type type, Frame *frame) = 0;
126
};
0 commit comments