blob: 6dc24f8052e44c701cfa7d087c4ac360c40a54f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2019 Blender Foundation. All rights reserved. */
#pragma once
#include "usd_writer_abstract.h"
namespace blender::io::usd {
/* Writer for writing camera data to UsdGeomCamera. */
class USDCameraWriter : public USDAbstractWriter {
public:
USDCameraWriter(const USDExporterContext &ctx);
protected:
virtual bool is_supported(const HierarchyContext *context) const override;
virtual void do_write(HierarchyContext &context) override;
};
} // namespace blender::io::usd
|