Cogs.Core
RenderPipelineFactory.h
1#pragma once
2
3#include "RenderPipelineManager.h"
4
5#include "Tasks/RenderTaskFactory.h"
6
7namespace Cogs
8{
9 namespace Core
10 {
11 bool createPipeline(RenderTaskContext * renderContext,
12 const RenderPipelineDefinition & pipelineDefinition,
13 RenderTaskResources & pipelineResources,
14 RenderPipeline & pipeline,
15 const StringView & path,
16 const CameraData* pushCameraData, // optionally push and pop this cameraData onto renderContext
17 const PipelineOptions & options = PipelineOptions(),
18 const std::string & prefix = "");
19
20 void releasePipeline(RenderTaskContext * renderContext, RenderPipeline & pipeline);
21
22 bool isPipelineFresh(RenderTaskContext * renderContext, const RenderPipeline & pipeline);
23
24 }
25}
Contains all Cogs related functionality.
Definition: FieldSetter.h:23