U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::ResourceRef Struct Reference

Typed resource reference. More...

#include </var/dev/u3d/stable/Source/Urho3D/Core/Variant.h>

Collaboration diagram for Urho3D::ResourceRef:
[legend]

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: