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

GPU objects the device has created and not yet destroyed. More...

#include <GfxDevice.hpp>

Public Attributes

u32 buffers = 0
u32 textures = 0
u32 programs = 0
u32 layouts = 0
u32 pipelines = 0
u32 renderTargets = 0
u32 readbacks = 0

Detailed Description

GPU objects the device has created and not yet destroyed.

ResourceManager reports a strict subset — render targets, the transient pool and plugin-created textures bypass it.

Note
Conserved: buffers, textures, programs, renderTargets. Caches that plateau: layouts, pipelines. readbacks is a queue, empty at rest.

Definition at line 57 of file GfxDevice.hpp.

Member Data Documentation

◆ buffers

u32 esengine::GfxLiveObjects::buffers = 0

Definition at line 58 of file GfxDevice.hpp.

◆ layouts

u32 esengine::GfxLiveObjects::layouts = 0

Definition at line 61 of file GfxDevice.hpp.

◆ pipelines

u32 esengine::GfxLiveObjects::pipelines = 0

Definition at line 62 of file GfxDevice.hpp.

◆ programs

u32 esengine::GfxLiveObjects::programs = 0

Definition at line 60 of file GfxDevice.hpp.

◆ readbacks

u32 esengine::GfxLiveObjects::readbacks = 0

Definition at line 64 of file GfxDevice.hpp.

◆ renderTargets

u32 esengine::GfxLiveObjects::renderTargets = 0

Definition at line 63 of file GfxDevice.hpp.

◆ textures

u32 esengine::GfxLiveObjects::textures = 0

Definition at line 59 of file GfxDevice.hpp.


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