gs-helper: Add common debug colors

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-10-19 00:02:03 +02:00
parent 10681d30c8
commit 87f83738c3

View file

@ -19,6 +19,7 @@
#pragma once #pragma once
#include <vector> #include <vector>
#include <string>
#include "plugin.hpp" #include "plugin.hpp"
// OBS // OBS
@ -38,6 +39,12 @@ namespace gs {
~context(); ~context();
}; };
static const float debug_color_source[4] = {0.f, .5f, 5.f, 1.f};
static const float debug_color_cache[4] = {1.f, .75f, 0.f, 1.f};
static const float debug_color_cache_render[4] = {.2f, .15f, 0.f, 1.f};
static const float debug_color_convert[4] = {.5f, .5f, 0.5f, 1.f};
static const float debug_color_render[4] = {0.f, 1.f, 0.0f, 1.f};
class debug_marker { class debug_marker {
std::string _name; std::string _name;