Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
GfxResourceRegistry.hpp File Reference

Every GPU object a device has issued, described well enough to build again. More...

#include "./GfxContent.hpp"
#include "../../core/Revision.hpp"
#include "../../core/Hash.hpp"
#include "./GfxEnums.hpp"
#include "./PipelineState.hpp"
#include <deque>
#include <optional>
#include <unordered_map>
#include <functional>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for GfxResourceRegistry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esengine::GfxUniformValue
 The last value a program was given for one uniform, replayed after a relink. More...
struct  esengine::GfxBufferRecord
struct  esengine::GfxTextureRecord
struct  esengine::GfxProgramRecord
struct  esengine::GfxComputeRecord
struct  esengine::GfxFramebufferRecord
struct  esengine::GfxLayoutRecord
struct  esengine::GfxPipelineRecord
struct  esengine::GfxTimerQueryRecord
class  esengine::GfxRecordTable< Record >
 One kind of object, by id, in creation order. More...
class  esengine::GfxRecordTable< Record >::View< Slots, Ref >
class  esengine::GfxRecordTable< Record >::View< Slots, Ref >::iterator
struct  esengine::PipelineDescHash
struct  esengine::GfxOwedContent
 A Sourced object that has storage again and is waiting for its contents. More...
class  esengine::GfxResourceRegistry

Namespaces

namespace  esengine

Variables

constexpr u32 esengine::GFX_UNBOUND_BLOCK = 0xFFFFFFFFu

Detailed Description

Every GPU object a device has issued, described well enough to build again.

The device's one record of what exists. A handle is an id in these tables, never a backend object, so it outlives any number of device losses; the backend keeps only a map from id to whatever its API calls the object this generation. Ids are never reused: a stale handle has to find nothing rather than someone else's object.

Definition in file GfxResourceRegistry.hpp.