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

#include <GfxEnums.hpp>

Public Attributes

GfxDeviceLostReason reason = GfxDeviceLostReason::Unknown
GfxDeviceIdentity identity
std::string message
std::string context
u64 frame = 0

Detailed Description

Definition at line 591 of file GfxEnums.hpp.

Member Data Documentation

◆ context

std::string esengine::GfxDeviceLostInfo::context

What the device was doing when it died, when the site knows (e.g. "createTexture 4096x4096").

Definition at line 602 of file GfxEnums.hpp.

Referenced by esengine::gfxFormatDeviceLost().

◆ frame

u64 esengine::GfxDeviceLostInfo::frame = 0

The frame the loss was observed on.

Definition at line 605 of file GfxEnums.hpp.

Referenced by esengine::gfxFormatDeviceLost().

◆ identity

GfxDeviceIdentity esengine::GfxDeviceLostInfo::identity

Snapshotted from the device at the moment of loss, so the report stays immutable while the device goes on to be rebuilt with a new identity.

Definition at line 596 of file GfxEnums.hpp.

Referenced by esengine::gfxFormatDeviceLost().

◆ message

std::string esengine::GfxDeviceLostInfo::message

Driver-supplied text; empty when the backend offered no detail.

Definition at line 599 of file GfxEnums.hpp.

Referenced by esengine::gfxFormatDeviceLost().

◆ reason

GfxDeviceLostReason esengine::GfxDeviceLostInfo::reason = GfxDeviceLostReason::Unknown

Definition at line 592 of file GfxEnums.hpp.

Referenced by esengine::gfxFormatDeviceLost().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/rhi/GfxEnums.hpp