DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
Deki::AssetRefBase Struct Reference

The untyped part of AssetRef, so the asset system can reach guid and ptr without knowing T. More...

#include <deki/assets/AssetRef.h>

Inherited by Deki::AssetRef< T >.

Public Member Functions

bool HasGuid () const
bool HasSource () const
bool IsLoaded () const

Public Attributes

void * ptr = nullptr
std::string guid
std::string source
bool loadAttempted = false
uint64_t cachedEpoch = 0

Detailed Description

The untyped part of AssetRef, so the asset system can reach guid and ptr without knowing T.

Member Function Documentation

◆ HasGuid()

bool Deki::AssetRefBase::HasGuid ( ) const
inline

◆ HasSource()

bool Deki::AssetRefBase::HasSource ( ) const
inline

◆ IsLoaded()

bool Deki::AssetRefBase::IsLoaded ( ) const
inline

Member Data Documentation

◆ ptr

void* Deki::AssetRefBase::ptr = nullptr

◆ guid

std::string Deki::AssetRefBase::guid

◆ source

std::string Deki::AssetRefBase::source

◆ loadAttempted

bool Deki::AssetRefBase::loadAttempted = false

◆ cachedEpoch

uint64_t Deki::AssetRefBase::cachedEpoch = 0

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