wren
Vulkan-based game engine
Loading...
Searching...
No Matches
pipeline.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
#include <string>
5
#include <utility>
6
#include <
wren/utils/errors.hpp
>
7
#include <
wren/vk/shader.hpp
>
8
9
namespace
wren
{
10
11
class
Pipeline
{
12
using
pipeline_t = std::shared_ptr<Pipeline>;
13
14
public
:
15
// static auto New(std::string const& name,
16
// std::shared_ptr<vk::Shader> const& shader)
17
// -> expected<std::shared_ptr<Pipeline>>;
18
19
private
:
20
Pipeline
(std::string name,
const
std::shared_ptr<vk::Shader>& shader)
21
: name_(std::move(name)), shader_(shader) {}
22
23
std::string name_;
24
25
std::shared_ptr<vk::Shader> shader_;
26
};
27
28
}
// namespace wren
wren::Pipeline
Definition
pipeline.hpp:11
wren
Definition
editor.hpp:14
errors.hpp
shader.hpp
wren
include
wren
pipeline.hpp
Generated by
1.10.0