VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
renderPassDepthGrab.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3//
4// Created by Arnis Lektauers on 13.02.2026.
5//
6#pragma once
7
9
10namespace visutwin::canvas
11{
12 class Camera;
13
19 {
20 public:
21 RenderPassDepthGrab(const std::shared_ptr<GraphicsDevice>& device, Camera* camera)
22 : RenderPass(device), _camera(camera) {}
23
24 void before() override;
25 void execute() override;
26
27 private:
28 Camera* _camera = nullptr;
29 };
30}
Perspective or orthographic camera with projection matrix, jitter (TAA), and render target binding.
Definition camera.h:40
RenderPassDepthGrab(const std::shared_ptr< GraphicsDevice > &device, Camera *camera)
std::shared_ptr< GraphicsDevice > device() const
Definition renderPass.h:124
RenderPass(const std::shared_ptr< GraphicsDevice > &device)
Definition renderPass.h:66