Blender V4.3
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 <map>
8
9#include <pxr/base/gf/matrix4d.h>
10#include <pxr/base/tf/staticTokens.h>
11#include <pxr/base/vt/value.h>
12#include <pxr/usd/sdf/assetPath.h>
13#include <pxr/usd/sdf/path.h>
14
15#include "DNA_view3d_types.h"
16#include "DNA_world_types.h"
17
18#include "light.hh"
19
20namespace blender::io::hydra {
21
22class WorldData : public LightData {
23 public:
24 WorldData(HydraSceneDelegate *scene_delegate, pxr::SdfPath const &prim_id);
25
26 void init() override;
27 void update() override;
28
29 protected:
30 void write_transform() override;
31};
32
33} // namespace blender::io::hydra
pxr::SdfPath prim_id
Definition id.hh:36
normal_tx WorldData