omni::connect::core::computeEffectivePreviewSurfaceShader
Defined in omni/connect/core/MaterialAlgo.h
-
pxr::UsdShadeShader omni::connect::core::computeEffectivePreviewSurfaceShader(const pxr::UsdShadeMaterial &material)
Get the effective surface Shader of a Material for the universal render context.
- Parameters
material – The Material to consider
- Returns
The connected Shader. Returns an invalid object on error.