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

A content policy. provider names who refills a Sourced object and key what it refills; both are the provider's own vocabulary. More...

#include <GfxContent.hpp>

Public Member Functions

constexpr GfxContentKind kind () const
constexpr u32 provider () const
constexpr u32 key () const

Static Public Member Functions

static constexpr GfxContent transient ()
static constexpr GfxContent retained ()
static constexpr GfxContent sourced (u32 provider, u32 key)

Detailed Description

A content policy. provider names who refills a Sourced object and key what it refills; both are the provider's own vocabulary.

Definition at line 30 of file GfxContent.hpp.

Member Function Documentation

◆ key()

u32 esengine::GfxContent::key ( ) const
inlineconstexpr

Definition at line 40 of file GfxContent.hpp.

Referenced by sourced().

◆ kind()

◆ provider()

u32 esengine::GfxContent::provider ( ) const
inlineconstexpr

Definition at line 39 of file GfxContent.hpp.

Referenced by sourced().

◆ retained()

◆ sourced()

constexpr GfxContent esengine::GfxContent::sourced ( u32 provider,
u32 key )
inlinestaticconstexpr

Definition at line 34 of file GfxContent.hpp.

References key(), provider(), and esengine::Sourced.

Referenced by esengine::resource::toGfxContent().

◆ transient()


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