CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ResourceTypeInfo Struct Referencefinal

A structure that describes type information for a resource. More...

#include <CeresEngine/Resource/Resource.hpp>

Public Member Functions

 ResourceTypeInfo (const std::type_info &typeInfo, const Type type)
 
StringView getName () const noexcept
 

Static Public Member Functions

template<typename T >
static const ResourceTypeInfoget ()
 

Public Attributes

const std::type_info & typeInfo
 
const Type type
 

Detailed Description

A structure that describes type information for a resource.

Constructor & Destructor Documentation

◆ ResourceTypeInfo()

CeresEngine::ResourceTypeInfo::ResourceTypeInfo ( const std::type_info &  typeInfo,
const Type  type 
)
inline

Member Function Documentation

◆ get()

template<typename T >
static const ResourceTypeInfo & CeresEngine::ResourceTypeInfo::get ( )
inlinestatic

◆ getName()

StringView CeresEngine::ResourceTypeInfo::getName ( ) const
inlinenoexcept

Member Data Documentation

◆ type

const Type CeresEngine::ResourceTypeInfo::type

◆ typeInfo

const std::type_info& CeresEngine::ResourceTypeInfo::typeInfo

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