Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::GpuTimer Class Reference

#include <RenderFrame.hpp>

Public Member Functions

void begin (GfxDevice &device)
void end (GfxDevice &device)
void poll (GfxDevice &device)
f32 lastMs () const

Detailed Description

Definition at line 75 of file RenderFrame.hpp.

Member Function Documentation

◆ begin()

void esengine::GpuTimer::begin ( GfxDevice & device)

◆ end()

void esengine::GpuTimer::end ( GfxDevice & device)

Definition at line 67 of file RenderFrame.cpp.

References esengine::GfxDevice::endTimerQuery().

◆ lastMs()

f32 esengine::GpuTimer::lastMs ( ) const
inline

Definition at line 80 of file RenderFrame.hpp.

◆ poll()

void esengine::GpuTimer::poll ( GfxDevice & device)

The documentation for this class was generated from the following files:
  • /home/runner/work/estella/estella/src/esengine/renderer/frame/RenderFrame.hpp
  • /home/runner/work/estella/estella/src/esengine/renderer/frame/RenderFrame.cpp