U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Typed resource reference. More...
#include </var/dev/u3d/stable/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. | |
Typed resource reference.