Unravel Engine C++ Reference
Loading...
Searching...
No Matches
pipeline_camera.h
Go to the documentation of this file.
1#pragma once
2
5namespace unravel
6{
7
9{
10public:
11
12
15
20 auto get_camera() const -> const camera&
21 {
22 return camera_;
23 }
28 auto get_camera() -> camera&
29 {
30 return camera_;
31 }
32
33 auto get_pipeline() const -> const rendering::pipeline::sptr&
34 {
35 return pipeline_;
36 }
37
39 {
40 return pipeline_;
41 }
42
43private:
45 camera camera_;
46};
47
48} // namespace unravel
Class representing a camera. Contains functionality for manipulating and updating a camera....
Definition camera.h:35
auto get_pipeline() -> rendering::pipeline::sptr &
auto get_camera() const -> const camera &
Gets the camera object (const version).
auto get_camera() -> camera &
Gets the camera object.
auto get_pipeline() const -> const rendering::pipeline::sptr &
std::shared_ptr< pipeline > sptr
Definition pipeline.h:63