Blender V5.3
camera.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/camera.h>
8#include <pxr/base/gf/vec2f.h>
9
10namespace blender {
11
12struct ARegion;
13struct Depsgraph;
14struct Object;
15struct View3D;
16namespace render::hydra {
17
18pxr::GfCamera gf_camera(const Depsgraph *depsgraph,
19 const View3D *v3d,
20 const ARegion *region,
21 const pxr::GfVec4f &border);
22
23pxr::GfCamera gf_camera(const Object *camera_obj,
24 const pxr::GfVec2i &res,
25 const pxr::GfVec4f &border);
26
27} // namespace render::hydra
28} // namespace blender
pxr::GfCamera gf_camera(const Depsgraph *depsgraph, const View3D *v3d, const ARegion *region, const pxr::GfVec4f &border)
BMesh Iterators.