get_usd_materials
List all USD materials on a stage, showing surface shaders and bound geometry.
Instructions
List all USD materials on a stage.
Each material reports surface_shaders keyed by render context: "surface" is the universal output, a UsdPreviewSurface for viewports and Storm, and "mtlx" is the MaterialX shader Karma renders. surface_shader is the mtlx one when present, so it agrees with get_material_info on the same material.
bound_to lists the prims a binding is authored on. rendered_on (up
to 50 paths) and rendered_on_count are the geometry that resolves to
the material for rendering, including geometry bound through a parent
or a collection; get_usd_bound_material says why for a given prim.
Args: node_path: LOP node path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes |