|
|
PixelBullet
0.0.1
A C++ game engine
|
Host-facing graphics subsystem shell. More...
#include <graphics.h>
Public Types | |
| enum class | FrameOutcome { Skipped , Rebuilt , Rendered } |
Public Member Functions | |
| Graphics (GraphicsConfig config, Window &window) | |
| Graphics (const Graphics &)=delete | |
| Graphics & | operator= (const Graphics &)=delete |
| Graphics (Graphics &&)=delete | |
| Graphics & | operator= (Graphics &&)=delete |
| FrameOutcome | Update () |
| void | WaitIdle () const |
| void | CaptureScreenshot (const std::filesystem::path &filename, std::size_t id=0) const |
| const Window & | GetWindow () const |
| Window & | GetWindow () |
Friends | |
| class | GraphicsFrameRuntimeAccess |
| class | GraphicsRendererBindingAccess |
| class | GraphicsStateAccess |
Host-facing graphics subsystem shell.
| void pixelbullet::Graphics::CaptureScreenshot | ( | const std::filesystem::path & | filename, |
| std::size_t | id = 0 ) const |
Takes a screenshot of the current image of the display and saves it into a image file.
| filename | The file to save the screenshot as. |