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
8
#include "
platform/graphics/renderPass.h
"
9
10
namespace
visutwin::canvas
11
{
12
class
Camera
;
13
18
class
RenderPassDepthGrab
:
public
RenderPass
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
}
visutwin::canvas::Camera
Perspective or orthographic camera with projection matrix, jitter (TAA), and render target binding.
Definition
camera.h:40
visutwin::canvas::RenderPassDepthGrab::before
void before() override
Definition
renderPassDepthGrab.cpp:13
visutwin::canvas::RenderPassDepthGrab::execute
void execute() override
Definition
renderPassDepthGrab.cpp:34
visutwin::canvas::RenderPassDepthGrab::RenderPassDepthGrab
RenderPassDepthGrab(const std::shared_ptr< GraphicsDevice > &device, Camera *camera)
Definition
renderPassDepthGrab.h:21
visutwin::canvas::RenderPass::device
std::shared_ptr< GraphicsDevice > device() const
Definition
renderPass.h:124
visutwin::canvas::RenderPass::RenderPass
RenderPass(const std::shared_ptr< GraphicsDevice > &device)
Definition
renderPass.h:66
visutwin::canvas
Definition
eventHandler.cpp:9
renderPass.h
scene
graphics
renderPassDepthGrab.h
Generated by
1.16.1