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

A class entry for a component the codegen never saw (a test double, a type defined in a .cpp). More...

Classes

struct  TypeNameProbe
struct  TypeNameStorage
struct  TypeNameStorage< T, std::index_sequence< I... > >
struct  TypeShortNameStorage
struct  TypeShortNameStorage< T, std::index_sequence< I... > >

Functions

void * BufferAllocate (size_t bytes, Memory::Region region, AllocContext ctx)
void BufferFree (void *ptr)
void * RawAllocate (size_t size)
void RawFree (void *ptr)
template<class T, class Base>
constexpr ComponentType HandWrittenBaseId ()
template<class T>
constexpr bool DeclaresUpdate ()
template<class T>
constexpr std::string_view RawTypeSignature ()
constexpr bool StartsWith (std::string_view s, std::string_view p)

Detailed Description

A class entry for a component the codegen never saw (a test double, a type defined in a .cpp).

It identifies the type and says whether Update() runs. It has no deserializer, so scenes can load it only when meta supplies its own createFunc.

Function Documentation

◆ BufferAllocate()

void * Deki::Detail::BufferAllocate ( size_t bytes,
Memory::Region region,
AllocContext ctx )

◆ BufferFree()

void Deki::Detail::BufferFree ( void * ptr)

◆ RawAllocate()

void * Deki::Detail::RawAllocate ( size_t size)

◆ RawFree()

void Deki::Detail::RawFree ( void * ptr)

◆ HandWrittenBaseId()

template<class T, class Base>
ComponentType Deki::Detail::HandWrittenBaseId ( )
constexpr

◆ DeclaresUpdate()

template<class T>
bool Deki::Detail::DeclaresUpdate ( )
constexpr

◆ RawTypeSignature()

template<class T>
std::string_view Deki::Detail::RawTypeSignature ( )
constexpr

◆ StartsWith()

bool Deki::Detail::StartsWith ( std::string_view s,
std::string_view p )
constexpr