Unravel Engine C++ Reference
Loading...
Searching...
No Matches
shader.h
Go to the documentation of this file.
1#pragma once
2
3#include "uniform.h"
4#include <memory>
5#include <vector>
6
7namespace gfx
8{
9struct shader : public handle_impl<shader, shader_handle>
10{
11 shader() = default;
12 shader(const memory_view* _mem);
13 shader(const embedded_shader* _es, const char* name);
15
17 std::vector<std::shared_ptr<uniform>> uniforms;
18};
19} // namespace gfx
std::string name
Definition hub.cpp:27
bgfx::EmbeddedShader embedded_shader
Definition graphics.h:53
bgfx::Memory memory_view
Definition graphics.h:23
std::vector< std::shared_ptr< uniform > > uniforms
Uniforms for this shader.
Definition shader.h:17
shader()=default