|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
#include <RenderDoc.h>
Public Member Functions | |
| bool | init () |
| void | startCapture (VkDevice device) const |
| void | endCapture (VkDevice device) const |
| void | triggerCapture () |
| bool | isCapturing () const |
| bool | isConnected () const |
| void | setCaptureTitle (const std::string &title) |
| void | setCapturePath (const std::string &pathTemplate) |
| void | triggerMultiFrameCapture (uint32_t numFrames) |
| void | printStatus () const |
| uint32_t | getNumCaptures () const |
| void | launchUI () |
| void | showUI () |
| void | enableCallstacks (bool enable) |
| void | enableAPIValidation (bool enable) |
| void | enableOverlay (bool enable) |
Static Public Member Functions | |
| static RenderDoc & | get () |
Private Member Functions | |
| RenderDoc ()=default | |
Private Attributes | |
| bool | m_available = false |
Definition at line 14 of file RenderDoc.h.
|
privatedefault |
| void RenderDoc::enableAPIValidation | ( | bool | enable | ) |
Definition at line 187 of file RenderDoc.cpp.
| void RenderDoc::enableCallstacks | ( | bool | enable | ) |
Definition at line 179 of file RenderDoc.cpp.
| void RenderDoc::enableOverlay | ( | bool | enable | ) |
Definition at line 195 of file RenderDoc.cpp.
| void RenderDoc::endCapture | ( | VkDevice | device | ) | const |
Definition at line 68 of file RenderDoc.cpp.
|
static |
Definition at line 15 of file RenderDoc.cpp.
References RenderDoc().
Referenced by EngineCore::Engine::captureRenderdocFrame(), and EngineCore::Engine::initRenderDoc().
| uint32_t RenderDoc::getNumCaptures | ( | ) | const |
Definition at line 154 of file RenderDoc.cpp.
Referenced by printStatus().
| bool RenderDoc::init | ( | ) |
Definition at line 20 of file RenderDoc.cpp.
References m_available.
| bool RenderDoc::isCapturing | ( | ) | const |
Definition at line 92 of file RenderDoc.cpp.
Referenced by printStatus(), and setCaptureTitle().
| bool RenderDoc::isConnected | ( | ) | const |
Definition at line 105 of file RenderDoc.cpp.
Referenced by printStatus().
| void RenderDoc::launchUI | ( | ) |
Definition at line 163 of file RenderDoc.cpp.
| void RenderDoc::printStatus | ( | ) | const |
Definition at line 138 of file RenderDoc.cpp.
References getNumCaptures(), isCapturing(), and isConnected().
| void RenderDoc::setCapturePath | ( | const std::string & | pathTemplate | ) |
Definition at line 122 of file RenderDoc.cpp.
| void RenderDoc::setCaptureTitle | ( | const std::string & | title | ) |
Definition at line 114 of file RenderDoc.cpp.
References isCapturing().
| void RenderDoc::showUI | ( | ) |
Definition at line 171 of file RenderDoc.cpp.
| void RenderDoc::startCapture | ( | VkDevice | device | ) | const |
Definition at line 60 of file RenderDoc.cpp.
| void RenderDoc::triggerCapture | ( | ) |
Definition at line 80 of file RenderDoc.cpp.
| void RenderDoc::triggerMultiFrameCapture | ( | uint32_t | numFrames | ) |
Definition at line 130 of file RenderDoc.cpp.
|
private |
Definition at line 52 of file RenderDoc.h.
Referenced by init().