get_resource_uri_mask#
- omni.mdl.neuraylib.utils.get_resource_uri_mask(
- transaction: ITransaction,
- resource: IValue_resource,
Computes or resolves the URI for a given resource.
- Parameters:
transaction (pymdlsdk.ITransaction) – The DB transaction that was used to access the given resource.
resource (pymdlsdk.IValue_resource) – The MDL resource, i.e., texture, light profile, or measured bsdf.
- Returns:
The resolved URI of the resource or the empty string in case of the empty resource or one that can not be resolved.