omni::connect::core::computeEffectiveMdlSurfaceShader

Defined in omni/connect/core/MaterialAlgo.h

pxr::UsdShadeShader omni::connect::core::computeEffectiveMdlSurfaceShader(const pxr::UsdShadeMaterial &material)

Get the effective surface Shader of a Material for the MDL render context.

Parameters

material – The Material to consider

Returns

The connected Shader. Returns an invalid object on error.