Photon Engine 2.0.0-beta
A physically based renderer.
|
Manages and executes frame processing pipelines. More...
#include <FrameProcessor.h>
Public Types | |
using | PipelineId = std::size_t |
Public Member Functions | |
void | process (PipelineId pipeline, const HdrRgbFrame &srcFrame, HdrRgbFrame *out_dstFrame) |
PipelineId | addPipeline () |
FrameProcessingPipeline * | getPipeline (PipelineId pipeline) |
const FrameProcessingPipeline * | getPipeline (PipelineId pipeline) const |
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).
using ph::FrameProcessor::PipelineId = std::size_t |
FrameProcessor::PipelineId ph::FrameProcessor::addPipeline | ( | ) |
FrameProcessingPipeline * ph::FrameProcessor::getPipeline | ( | PipelineId | pipeline | ) |
const FrameProcessingPipeline * ph::FrameProcessor::getPipeline | ( | PipelineId | pipeline | ) | const |
void ph::FrameProcessor::process | ( | PipelineId | pipeline, |
const HdrRgbFrame & | srcFrame, | ||
HdrRgbFrame * | out_dstFrame ) |