Blender V4.3
usd_light_convert.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
6#include <pxr/usd/usd/common.h>
7#include <pxr/usd/usdLux/domeLight.h>
8
9struct Main;
10struct Scene;
11
12namespace blender::io::usd {
13
14struct USDExportParams;
15struct USDImportParams;
16
17struct ImportSettings;
18
19void world_material_to_dome_light(const USDExportParams &params,
20 const Scene *scene,
21 pxr::UsdStageRefPtr stage);
22
23void dome_light_to_world_material(const USDImportParams &params,
24 const ImportSettings &settings,
25 Scene *scene,
26 Main *bmain,
27 const pxr::UsdLuxDomeLight &dome_light,
28 const double motionSampleTime = 0.0);
29
30} // namespace blender::io::usd
EvaluationStage stage
Definition deg_eval.cc:83
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
void world_material_to_dome_light(const USDExportParams &params, const Scene *scene, pxr::UsdStageRefPtr stage)
void dome_light_to_world_material(const USDImportParams &params, const ImportSettings &, Scene *scene, Main *bmain, const pxr::UsdLuxDomeLight &dome_light, const double motionSampleTime)