omni.mdl.neuraylib#

Submodules Summary:

omni.mdl.neuraylib.scripts

No submodule docstring provided

omni.mdl.neuraylib.utils

No submodule docstring provided

Classes Summary:

Interop

A Collection of functions to support renderer and tools with common tasks.

MdlEntity

Maps between USD shade nodes and the MDL representation of a shade node.

MdlEntitySnapshot

MDL representation of a shade node along with the currently set parameters.

MdlModule

The representation of an MDL module to load or loaded by neuray.

NeurayLib

Access to the MDL Material back-end in Omniverse.

Functions Summary:

CreateTemporaryDbScope

DestroyTemporaryDbScope

EnsureRunning

GetGraphResources

GetGraphResourcesUriMasks

GetGraphResourcesUris

GetModuleUris

GetResourceUriList

GetResourceUriMask

ParseSceneIdentifierBsdfMeasurement

ParseSceneIdentifierLightProfile

ParseSceneIdentifierTexture

RecreateMaterialInScope

RegisterExtensionContent

UnregisterExtensionContent

bake_texture_async

Bakes the expression as texture (supports UV ranges and animated textures).

create_mdl_module_async

Loads an MDL module and stores the loaded definitions in the neuray DB scope provided.

create_temporary_db_scope

Create a temporary scope for processing independent of the renderer scopes.

deregister_extension_content

Removes your extension data from the extension search path.

destroy_temporary_db_scope

Create a temporary scope for processing independent of the renderer scopes.

ensure_running

Make sure that neuray is running and MDL resolution through USD is possible.

get_graph_resources

Traverse the material graph to gather all body/default and parameter resources.

get_graph_resources_uri_masks

Traverse the material graph to gather all body/default and parameter resources.

get_graph_resources_uris

Traverse the material graph to gather all body/default and parameter resources.

get_module_uris

Lists all the MDL modules file URIs that a given set of graph depends on.

get_resource_uri_list

Computes or resolves the URIs for a given resource set.

get_resource_uri_mask

Computes or resolves the URI for a given resource.

parse_scene_identifier_bsdf_measurement

Parse the Scene identifier without checking for existance of the resource.

parse_scene_identifier_light_profile

Parse the Scene identifier without checking for existance of the resource.

parse_scene_identifier_texture

Parse the Scene identifier without checking for existance of the resource.

post_process_baked_texture_async

Post-processes the baked texture asynchronously.

recreate_material_in_scope

Replicated a given material graph in a user-defined scope.

register_extension_content

Register a folder of your extension data in the root of the MDL extension search path.