Add Chromium-only Blender WebEngine parity work
This commit is contained in:
28
blender-5.2.0/source/blender/render/hydra/camera.hh
Normal file
28
blender-5.2.0/source/blender/render/hydra/camera.hh
Normal file
@@ -0,0 +1,28 @@
|
||||
/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <pxr/base/gf/camera.h>
|
||||
#include <pxr/base/gf/vec2f.h>
|
||||
|
||||
namespace blender {
|
||||
|
||||
struct ARegion;
|
||||
struct Depsgraph;
|
||||
struct Object;
|
||||
struct View3D;
|
||||
namespace render::hydra {
|
||||
|
||||
pxr::GfCamera gf_camera(const Depsgraph *depsgraph,
|
||||
const View3D *v3d,
|
||||
const ARegion *region,
|
||||
const pxr::GfVec4f &border);
|
||||
|
||||
pxr::GfCamera gf_camera(const Object *camera_obj,
|
||||
const pxr::GfVec2i &res,
|
||||
const pxr::GfVec4f &border);
|
||||
|
||||
} // namespace render::hydra
|
||||
} // namespace blender
|
||||
Reference in New Issue
Block a user