CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUTimerQueryDescriptor Struct Reference

A descriptor structure for TimerQuery. More...

#include <CeresEngine/RenderAPI/GPUQuery.hpp>

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

UInt32 numberOfTimers = 1
 The number of timers to be created in a single TimerQuery.
 

Detailed Description

A descriptor structure for TimerQuery.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPUTimerQueryDescriptor::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ numberOfTimers

UInt32 CeresEngine::GPUTimerQueryDescriptor::numberOfTimers = 1

The number of timers to be created in a single TimerQuery.

The queries can be started individually by giving the timer index to methods such as TimerQuery::begin(), TimerQuery::end() and TimerQuery::with().


The documentation for this struct was generated from the following file: