Class FrameCapture#

Class Documentation#

class FrameCapture#

Public Functions

inline bool supportsCapture(const VulkanSwapChain &swapChain, bool deviceLostDetected) const#
inline bool isArmed() const#
inline void request()#
inline void record(const std::shared_ptr<VulkanDevice> &device, vk::CommandBuffer &commandBuffer, VulkanSwapChain &swapChain, uint32_t image_index, bool deviceLostDetected)#
inline void bindSubmitFence(vk::Fence submitFence)#
inline void invalidateFence()#
inline std::vector<uint8_t> take(const std::shared_ptr<VulkanDevice> &device, bool &deviceLostDetected, uint32_t &outWidth, uint32_t &outHeight)#
inline void cleanUp()#