update the comments

This commit is contained in:
vision 2014-05-27 14:40:55 +08:00
parent e81db73b0a
commit 5764677bba
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ namespace utils
* we need to wrap the operation with a custom command which is then inserted into the tail of the render queue.
* - afterCaptured, specify the callback function which will be invoked after the snapshot is done.
* - filename, specify a filename where the snapshot is stored. This parameter can be either an absolute path or a simple
* base filename ("hello.png" etc.), don't use a relative path with directory ("mydir/hello.png" etc.) cause the existence
* of the path is not guaranteed.
* base filename ("hello.png" etc.), don't use a relative path including directory ("mydir/hello.png" etc.).
* @since v3.2
*/
void captureScreen(const std::function<void(bool, const std::string&)>& afterCaptured, const std::string& filename);