OpenSiv3D  v0.6.5
C++20 framework for creative coding
ScreenCapture.hpp File Reference
#include "Common.hpp"
#include "Array.hpp"
#include "String.hpp"
#include "DateTime.hpp"
#include "InputGroups.hpp"

Namespaces

 s3d
 
 s3d::ScreenCapture
 スクリーンショットに関連する機能
 

Functions

FilePath s3d::ScreenCapture::GetScreenshotDirectory ()
 現在設定されている、スクリーンショットの保存先のディレクトリを取得します。 More...
 
void s3d::ScreenCapture::SetScreenshotDirectory (FilePath &&path)
 スクリーンショットの保存先のディレクトリを変更します。 More...
 
void s3d::ScreenCapture::SaveCurrentFrame (FilePath &&path=(DateTime::Now().format(U"yyyyMMdd-HHmmss-SSS")+U".png"))
 現在のフレームを次の System::Update() でスクリーンショットとして保存します。 More...
 
void s3d::ScreenCapture::RequestCurrentFrame ()
 現在のフレームのスクリーンショットを、次の System::Update() でメモリ上に保存します。 More...
 
bool s3d::ScreenCapture::HasNewFrame ()
 メモリ上に新しいスクリーンショットが保存されているかを返します。 More...
 
const Image & s3d::ScreenCapture::GetFrame ()
 メモリ上に保存されているスクリーンショットを取得します。 More...
 
bool s3d::ScreenCapture::GetFrame (Image &image)
 メモリ上に保存されているスクリーンショットを取得します。 More...
 
bool s3d::ScreenCapture::GetFrame (DynamicTexture &texture)
 メモリ上に保存されているスクリーンショットを DynamicTexture に書き込みます。 More...
 
void s3d::ScreenCapture::SetShortcutKeys (const Array< InputGroup > &screenshotShortcutKeys)
 スクリーンショットのショートカットキーを設定します。 More...