DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
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

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

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

◆ cachedEpoch

uint64_t Deki::AssetRefBase::cachedEpoch = 0

◆ guid

std::string Deki::AssetRefBase::guid

◆ loadAttempted

bool Deki::AssetRefBase::loadAttempted = false

◆ ptr

void* Deki::AssetRefBase::ptr = nullptr

◆ source

std::string Deki::AssetRefBase::source

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