Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::ResourceRef Struct Reference

Typed resource reference. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Variant.h>

Public Member Functions

 ResourceRef ()=default
 Construct.
 
 ResourceRef (StringHash type)
 Construct with type only and empty id.
 
 ResourceRef (StringHash type, const String &name)
 Construct with type and resource name.
 
 ResourceRef (const String &type, const 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.
 
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.
 
String name_
 Object name.
 

Detailed Description

Typed resource reference.


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