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

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

Public Member Functions

void execute (MTL::RenderCommandEncoder *encoder, const DofBlurPassParams &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 DOF blur pass on the active render command encoder.
 MetalDofBlurPass (MetalGraphicsDevice *device, MetalComposePass *composePass)
 ~MetalDofBlurPass ()

Detailed Description

Manages the DOF blur pass: lazy resource creation, pipeline lookup, and dispatch. Depends on MetalComposePass for shared full-screen vertex buffer/format.

Definition at line 30 of file metalDofBlurPass.h.

Constructor & Destructor Documentation

◆ MetalDofBlurPass()

visutwin::canvas::MetalDofBlurPass::MetalDofBlurPass ( MetalGraphicsDevice * device,
MetalComposePass * composePass )

Definition at line 136 of file metalDofBlurPass.cpp.

◆ ~MetalDofBlurPass()

visutwin::canvas::MetalDofBlurPass::~MetalDofBlurPass ( )

Definition at line 141 of file metalDofBlurPass.cpp.

Member Function Documentation

◆ execute()


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