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

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

Public Member Functions

void execute (MTL::RenderCommandEncoder *encoder, Texture *sourceTexture, Texture *historyTexture, Texture *depthTexture, const Matrix4 &viewProjectionPrevious, const Matrix4 &viewProjectionInverse, const std::array< float, 4 > &jitters, const std::array< float, 4 > &cameraParams, bool highQuality, bool historyValid, MetalRenderPipeline *pipeline, const std::shared_ptr< RenderTarget > &renderTarget, const std::vector< std::shared_ptr< MetalBindGroupFormat > > &bindGroupFormats, MTL::SamplerState *defaultSampler, MTL::DepthStencilState *defaultDepthStencilState)
 Execute the TAA resolve pass on the active render command encoder.
 MetalTaaPass (MetalGraphicsDevice *device, MetalComposePass *composePass)
 ~MetalTaaPass ()

Detailed Description

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

Definition at line 31 of file metalTaaPass.h.

Constructor & Destructor Documentation

◆ MetalTaaPass()

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

Definition at line 200 of file metalTaaPass.cpp.

◆ ~MetalTaaPass()

visutwin::canvas::MetalTaaPass::~MetalTaaPass ( )

Definition at line 205 of file metalTaaPass.cpp.

Member Function Documentation

◆ execute()

void visutwin::canvas::MetalTaaPass::execute ( MTL::RenderCommandEncoder * encoder,
Texture * sourceTexture,
Texture * historyTexture,
Texture * depthTexture,
const Matrix4 & viewProjectionPrevious,
const Matrix4 & viewProjectionInverse,
const std::array< float, 4 > & jitters,
const std::array< float, 4 > & cameraParams,
bool highQuality,
bool historyValid,
MetalRenderPipeline * pipeline,
const std::shared_ptr< RenderTarget > & renderTarget,
const std::vector< std::shared_ptr< MetalBindGroupFormat > > & bindGroupFormats,
MTL::SamplerState * defaultSampler,
MTL::DepthStencilState * defaultDepthStencilState )

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