Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::FrameProcessor Class Referencefinal

Manages and executes frame processing pipelines. More...

#include <FrameProcessor.h>

Inheritance diagram for ph::FrameProcessor:
ph::IMoveOnly

Public Types

using PipelineId = std::size_t
 

Public Member Functions

void process (PipelineId pipeline, const HdrRgbFrame &srcFrame, HdrRgbFrame *out_dstFrame)
 
PipelineId addPipeline ()
 
FrameProcessingPipelinegetPipeline (PipelineId pipeline)
 
const FrameProcessingPipelinegetPipeline (PipelineId pipeline) const
 

Detailed Description

Manages and executes frame processing pipelines.

Care must be taken when using an instance concurrently as things may break if some frame operators used cached data internally (race condition).

Member Typedef Documentation

◆ PipelineId

using ph::FrameProcessor::PipelineId = std::size_t

Member Function Documentation

◆ addPipeline()

FrameProcessor::PipelineId ph::FrameProcessor::addPipeline ( )

◆ getPipeline() [1/2]

FrameProcessingPipeline * ph::FrameProcessor::getPipeline ( PipelineId pipeline)

◆ getPipeline() [2/2]

const FrameProcessingPipeline * ph::FrameProcessor::getPipeline ( PipelineId pipeline) const

◆ process()

void ph::FrameProcessor::process ( PipelineId pipeline,
const HdrRgbFrame & srcFrame,
HdrRgbFrame * out_dstFrame )

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