|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
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) |
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.
|
inlineconstexpr |
Definition at line 40 of file GfxContent.hpp.
Referenced by sourced().
|
inlineconstexpr |
Definition at line 38 of file GfxContent.hpp.
Referenced by esengine::GfxDevice::createBuffer(), esengine::GfxDevice::createCompressedTexture(), esengine::GfxDevice::createTexture(), and esengine::GfxDevice::importExternalTexture().
|
inlineconstexpr |
Definition at line 39 of file GfxContent.hpp.
Referenced by sourced().
|
inlinestaticconstexpr |
Definition at line 33 of file GfxContent.hpp.
References esengine::Retained.
Referenced by esengine::MaterialStore::bindForDraw(), esengine::Shader::commitParams(), esengine::ImmediateDraw::createShape(), esengine::PostProcessPipeline::drawProjectedMaterial(), esengine::CustomGeometry::init(), esengine::PerDrawBlocks::init(), esengine::CustomGeometry::setIndices(), esengine::CustomGeometry::setIndices(), esengine::resource::toGfxContent(), and esengine::LightStore::uploadAndBind().
Definition at line 34 of file GfxContent.hpp.
References key(), provider(), and esengine::Sourced.
Referenced by esengine::resource::toGfxContent().
|
inlinestaticconstexpr |
Definition at line 32 of file GfxContent.hpp.
References esengine::Transient.
Referenced by esengine::MaterialStore::bindThrough(), esengine::TilemapRenderPlugin::collect(), esengine::SkinCache::run(), esengine::PerDrawBlocks::stage(), esengine::GpuParticles::submit(), and esengine::resource::toGfxContent().