Rebel Fork Framework
Urho3D::ResourceRef Struct Reference

Typed resource reference. More...

#include <Urho3D/Core/Variant.h>

Public Member Functions

 ResourceRef ()=default
 Construct.
 
 ResourceRef (StringHash type)
 Construct with type only and empty id.
 
 ResourceRef (StringHash type, const ea::string &name)
 Construct with type and resource name.
 
 ResourceRef (const ea::string &type, const ea::string &name)
 Construct with type and resource name.
 
 ResourceRef (const char *type, const char *name)
 Construct with type and resource name.
 
 ResourceRef (const ResourceRef &rhs)=default
 Construct from another ResourceRef.
 
unsigned ToHash () const
 Return hash value for HashSet & HashMap.
 
bool operator== (const ResourceRef &rhs) const
 Test for equality with another reference.
 
bool operator!= (const ResourceRef &rhs) const
 Test for inequality with another reference.
 

Public Attributes

StringHash type_
 Object type.
 
ea::string name_
 Object name.
 

Detailed Description

Typed resource reference.


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