mirror of https://github.com/axmolengine/axmol.git
update the comments
This commit is contained in:
parent
e81db73b0a
commit
5764677bba
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue