summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/depthreader.h
blob: 761a1653323361a0e6cc09362781e07e0b5c96fa (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
//============================================================
//
//  depthreader.h - BGFX depth state JSON reader
//
//============================================================

#pragma once

#ifndef __DRAWBGFX_DEPTH_READER__
#define __DRAWBGFX_DEPTH_READER__

#include "statereader.h"

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

private:
	static const int FUNCTION_COUNT = 8;
	static const string_to_enum FUNCTION_NAMES[FUNCTION_COUNT];
};

#endif // __DRAWBGFX_DEPTH_READER__