| 356 | } |
| 357 | |
| 358 | static pxr::SdfAssetPath GetTextureFile(pxr::HdSceneDelegate& SceneDelegate, const pxr::SdfPath& Id) |
| 359 | { |
| 360 | pxr::SdfAssetPath FilePath; |
| 361 | |
| 362 | const pxr::VtValue TextureFileVal = SceneDelegate.GetLightParamValue(Id, pxr::HdLightTokens->textureFile); |
| 363 | if (TextureFileVal.IsHolding<pxr::SdfAssetPath>()) |
| 364 | { |
| 365 | FilePath = TextureFileVal.Get<pxr::SdfAssetPath>(); |
| 366 | } |
| 367 | |
| 368 | return FilePath; |
| 369 | } |
| 370 | |
| 371 | void HnLight::ComputeDirectLightProjMatrix(pxr::HdSceneDelegate& SceneDelegate) |
| 372 | { |
no test coverage detected