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.

struct Resource
@nogc nothrow const
RID
getRid
()

Meta