VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::MetalDepthAwareBlurPass Class Reference

#include <platform/graphics/metal/metalDepthAwareBlurPass.h>

Public Member Functions

void execute (MTL::RenderCommandEncoder *encoder, const DepthAwareBlurPassParams &params, MetalRenderPipeline *pipeline, const std::shared_ptr< RenderTarget > &renderTarget, const std::vector< std::shared_ptr< MetalBindGroupFormat > > &bindGroupFormats, MTL::SamplerState *defaultSampler, MTL::DepthStencilState *defaultDepthStencilState)
 Execute the blur pass on the active render command encoder.
 MetalDepthAwareBlurPass (MetalGraphicsDevice *device, MetalComposePass *composePass, bool horizontal)
 ~MetalDepthAwareBlurPass ()

Detailed Description

Manages a depth-aware bilateral blur pass: lazy resource creation, pipeline lookup, and dispatch. Depends on MetalComposePass for shared full-screen vertex buffer/format. Instantiated twice — one horizontal, one vertical.

Definition at line 31 of file metalDepthAwareBlurPass.h.

Constructor & Destructor Documentation

◆ MetalDepthAwareBlurPass()

visutwin::canvas::MetalDepthAwareBlurPass::MetalDepthAwareBlurPass ( MetalGraphicsDevice * device,
MetalComposePass * composePass,
bool horizontal )

Definition at line 216 of file metalDepthAwareBlurPass.cpp.

◆ ~MetalDepthAwareBlurPass()

visutwin::canvas::MetalDepthAwareBlurPass::~MetalDepthAwareBlurPass ( )

Definition at line 221 of file metalDepthAwareBlurPass.cpp.

Member Function Documentation

◆ execute()


The documentation for this class was generated from the following files: