Nameless Engine
Loading...
Searching...
No Matches
PipelineRegistry.hpp
1#pragma once
2
3// Standard.
4#include <unordered_map>
5#include <set>
6#include <memory>
7#include <string>
8#include <array>
9
10// Custom.
11#include "shader/general/ShaderMacro.h"
12#include "render/general/pipeline/PipelineType.hpp"
13
14namespace ne {
15 class Pipeline;
16
26 std::unordered_map<std::set<ShaderMacro>, std::shared_ptr<Pipeline>, ShaderMacroSetHash>
28 };
29
33 std::array<
34 std::unordered_map<std::string, ShaderPipelines>,
35 static_cast<size_t>(GraphicsPipelineType::SIZE)>
37 };
38}
Definition: PipelineRegistry.hpp:31
std::array< std::unordered_map< std::string, ShaderPipelines >, static_cast< size_t >(GraphicsPipelineType::SIZE)> vPipelineTypes
Definition: PipelineRegistry.hpp:36
Definition: ShaderMacro.h:198
Definition: PipelineRegistry.hpp:18
std::unordered_map< std::set< ShaderMacro >, std::shared_ptr< Pipeline >, ShaderMacroSetHash > shaderPipelines
Definition: PipelineRegistry.hpp:27