SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::RenderPassStatistics Class Reference

Statistics of RenderPass(Renderer). More...

#include <RenderPassStatistics.h>

Public Member Functions

 RenderPassStatistics (VulkanState &state, Querier::StatisticsFlags flags)
 Constructor Function.
 
virtual ~RenderPassStatistics ()=default
 Destructor Function.
 
void BeginStatistics (VkCommandBuffer commandBuffer, Querier::StatisticsFlags flags) const
 Begin Statistics.
 
void EndStatistics (VkCommandBuffer commandBuffer, Querier::StatisticsFlags flags) const
 End Statistics.
 
void StoreStatistics () const
 Store statistics result.
 
template<typename F >
void IterStatisticsResult (Querier::StatisticsFlags flags, F &&fn)
 Iter all Statistics Result.
 

Private Attributes

std::array< std::unique_ptr< Querier >, static_cast< size_t >(Querier::Max)> m_Queries
 Array of all statistics item.
 

Detailed Description

Statistics of RenderPass(Renderer).

Definition at line 18 of file RenderPassStatistics.h.


The documentation for this class was generated from the following files: