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

#include <GfxResourceRegistry.hpp>

Public Member Functions

 GfxBufferRecord (const BufferDesc &d, GfxContent c)

Public Attributes

BufferDesc desc
GfxContent content
std::vector< u8 > bytes
 Retained content, or the initial bytes of a buffer created while the device was lost.
bool realized = false
bool owed = false

Detailed Description

Definition at line 39 of file GfxResourceRegistry.hpp.

Constructor & Destructor Documentation

◆ GfxBufferRecord()

esengine::GfxBufferRecord::GfxBufferRecord ( const BufferDesc & d,
GfxContent c )
inline

Definition at line 40 of file GfxResourceRegistry.hpp.

References content, and desc.

Member Data Documentation

◆ bytes

std::vector<u8> esengine::GfxBufferRecord::bytes

Retained content, or the initial bytes of a buffer created while the device was lost.

Definition at line 45 of file GfxResourceRegistry.hpp.

Referenced by esengine::GfxDevice::createBuffer().

◆ content

GfxContent esengine::GfxBufferRecord::content

Definition at line 43 of file GfxResourceRegistry.hpp.

Referenced by GfxBufferRecord().

◆ desc

BufferDesc esengine::GfxBufferRecord::desc

Definition at line 42 of file GfxResourceRegistry.hpp.

Referenced by GfxBufferRecord().

◆ owed

bool esengine::GfxBufferRecord::owed = false

Definition at line 47 of file GfxResourceRegistry.hpp.

◆ realized

bool esengine::GfxBufferRecord::realized = false

Definition at line 46 of file GfxResourceRegistry.hpp.


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