parse_scene_identifier_texture#

omni.mdl.neuraylib.utils.parse_scene_identifier_texture(
sceneIdentifierTexture: str,
) tuple[str | None, str | None, float | None]#

Parse the Scene identifier without checking for existance of the resource. When texture parameters are overridden in USD we encode their filepaths and color space in an identifier. This is parsed by the renderer to load the actualy data.

The encoding is done in ‘rendering/include/rtx/neuraylib/NeurayLibUtils.h’.

Parameters:

sceneIdentifierTexture (str) – encoded scene identier.

Returns:

A tuple (uri: str, color_space: str, gamma: float) or (None, None, None) if it’s not a valid identifier