class Camera
Defined at line 25 of file ../../src/ui/lib/escher/scene/camera.h
Generates and encapsulates a view/projection matrix pair. The camera follows
the Vulkan convention of looking down the negative Z-axis.
Public Methods
const mat4 & transform ()
Defined at line 41 of file ../../src/ui/lib/escher/scene/camera.h
const mat4 & projection ()
Defined at line 42 of file ../../src/ui/lib/escher/scene/camera.h
void SetLatchedPoseBuffer (const BufferPtr & latched_pose_buffer, CameraEye eye)
Defined at line 44 of file ../../src/ui/lib/escher/scene/camera.h
const BufferPtr & latched_pose_buffer ()
Defined at line 48 of file ../../src/ui/lib/escher/scene/camera.h
CameraEye latched_camera_eye ()
Defined at line 49 of file ../../src/ui/lib/escher/scene/camera.h
void SetViewport (const Viewport & viewport)
Defined at line 64 of file ../../src/ui/lib/escher/scene/camera.h
const Viewport & viewport ()
Defined at line 65 of file ../../src/ui/lib/escher/scene/camera.h
void Camera (const mat4 & transform, const mat4 & projection)
Defined at line 68 of file ../../src/ui/lib/escher/scene/camera.cc
Camera NewOrtho (const ViewingVolume & volume, const mat4 * clip_space_transform)
Create an camera in the default position for a full-screen orthographic
projection.
Defined at line 71 of file ../../src/ui/lib/escher/scene/camera.cc
Camera NewForDirectionalShadowMap (const ViewingVolume & volume, const glm::vec3 & direction)
Create an orthographic camera looking at the viewing volume in the
specified direction.
Defined at line 101 of file ../../src/ui/lib/escher/scene/camera.cc
Camera NewPerspective (const ViewingVolume & volume, const mat4 & transform, float fovy, const mat4 * clip_space_transform)
Create a camera with a perspective projection.
Defined at line 116 of file ../../src/ui/lib/escher/scene/camera.cc