summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/cullreader.h
blob: 5c521a108a2e2882c53a418fc1282e22afd204bb (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
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
//  cullreader.h - BGFX cull state JSON reader
//
//============================================================

#pragma once

#ifndef __DRAWBGFX_CULL_READER__
#define __DRAWBGFX_CULL_READER__

#include "statereader.h"

class cull_reader : public state_reader {
public:
	static uint64_t read_from_value(const Value& value);

private:
	static const int MODE_COUNT = 3;
	static const string_to_enum MODE_NAMES[MODE_COUNT];
};

#endif // __DRAWBGFX_CULL_READER__