mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-02 16:17:25 +00:00
gs-helper: Add common debug colors
This commit is contained in:
parent
10681d30c8
commit
87f83738c3
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue