blob: 7721bbaf74bc1303462874aa1a617be98b5c48d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// chain.h - BGFX screen-space post-effect chain
//
//============================================================
#pragma once
#ifndef __DRAWBGFX_CHAIN__
#define __DRAWBGFX_CHAIN__
#include <string>
#include <vector>
class bgfx_slider;
class bgfx_parameter;
class bgfx_chain_entry;
class render_primitive;
class bgfx_chain
{
public:
bgfx_chain(std::string name, std::string author, std::vector<bgfx_slider*> sliders, std::vector<bgfx_parameter*> params, std::vector<bgfx_chain_entry*> entries);
~bgfx_chain();
void submit(render_primitive* prim, int view);
private:
std::string m_name;
std::string m_author;
std::vector<bgfx_slider*> m_sliders;
std::vector<bgfx_parameter*> m_params;
std::vector<bgfx_chain_entry*> m_entries;
};
#endif // __DRAWBGFX_CHAIN__
|