18template<
bool IS_CONST>
45 operator bool ()
const;
48 using ClassInstanceType = std::conditional_t<IS_CONST, const ISdlResource, ISdlResource>;
49 using StructInstanceType = std::conditional_t<IS_CONST, const void, void>;
51 using InstanceType = std::variant<
56 using MetaType = std::variant<
62 InstanceType m_instance;
Definition ISdlInstantiable.h:12
Definition SdlFunction.h:18
Definition SdlStruct.h:25
References a SDL object. This is a lightweight utility for referencing SDL objects....
Definition TSdlAnyInstance.h:20
bool isStruct() const
Definition TSdlAnyInstance.ipp:156
const SdlClass * getClass() const
Definition TSdlAnyInstance.ipp:129
const ISdlInstantiable * getInstantiable() const
Definition TSdlAnyInstance.ipp:168
const SdlStruct * getStruct() const
Definition TSdlAnyInstance.ipp:136
bool isFunction() const
Definition TSdlAnyInstance.ipp:162
TSdlAnyInstance()
Definition TSdlAnyInstance.ipp:20
bool isClass() const
Definition TSdlAnyInstance.ipp:150
const SdlFunction * getFunction() const
Definition TSdlAnyInstance.ipp:143
auto * get() const
Definition TSdlAnyInstance.ipp:82
The root for all renderer implementations.
Definition EEngineProject.h:6