VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
renderPassDepthAwareBlur.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3//
4//
5#pragma once
6
7#include <memory>
8
10
11namespace visutwin::canvas
12{
13 class CameraComponent;
14
20 {
21 public:
22 RenderPassDepthAwareBlur(const std::shared_ptr<GraphicsDevice>& device,
23 Texture* sourceTexture, CameraComponent* cameraComponent, bool horizontal);
24
25 void execute() override;
26
27 private:
28 Texture* _sourceTexture = nullptr;
29 CameraComponent* _cameraComponent = nullptr;
30 bool _horizontal = true;
31 };
32}
RenderPassDepthAwareBlur(const std::shared_ptr< GraphicsDevice > &device, Texture *sourceTexture, CameraComponent *cameraComponent, bool horizontal)
std::shared_ptr< GraphicsDevice > device() const
Definition renderPass.h:124
RenderPassShaderQuad(const std::shared_ptr< GraphicsDevice > &device)
GPU texture resource supporting 2D, cubemap, volume, and array formats with mipmap management.
Definition texture.h:57