Blender V5.0
world.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <pxr/base/gf/matrix4d.h>
8#include <pxr/base/tf/staticTokens.h>
9#include <pxr/base/vt/value.h>
10#include <pxr/usd/sdf/assetPath.h>
11#include <pxr/usd/sdf/path.h>
12
13#include "light.hh"
14
15namespace blender::io::hydra {
16
17class WorldData : public LightData {
18 public:
19 WorldData(HydraSceneDelegate *scene_delegate, pxr::SdfPath const &prim_id);
20
21 void init() override;
22 void update() override;
23};
24
25} // namespace blender::io::hydra
pxr::SdfPath prim_id
Definition id.hh:36
LightData(HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
WorldData(HydraSceneDelegate *scene_delegate, pxr::SdfPath const &prim_id)