summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/depthreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/depthreader.h')
-rw-r--r--src/osd/modules/render/bgfx/depthreader.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/osd/modules/render/bgfx/depthreader.h b/src/osd/modules/render/bgfx/depthreader.h
new file mode 100644
index 00000000000..6dad9d9d7c8
--- /dev/null
+++ b/src/osd/modules/render/bgfx/depthreader.h
@@ -0,0 +1,17 @@
+#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__ \ No newline at end of file