Function Resource.getRid
Returns the RID of the resource (or an empty RID). Many resources (such as Texture
, Mesh
, etc) are high-level abstractions of resources stored in a server, so this function will return the original RID.
Returns the RID of the resource (or an empty RID). Many resources (such as Texture
, Mesh
, etc) are high-level abstractions of resources stored in a server, so this function will return the original RID.