2023-02-28 01:15:26 +00:00
|
|
|
// AUTOGENERATED COPYRIGHT HEADER START
|
|
|
|
// Copyright (C) 2021-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
2021-02-02 21:25:06 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "obs/gs/gs-effect.hpp"
|
|
|
|
|
2022-08-29 10:29:44 +00:00
|
|
|
#include "warning-disable.hpp"
|
|
|
|
#include <memory>
|
|
|
|
#include "warning-enable.hpp"
|
|
|
|
|
2021-06-08 02:47:04 +00:00
|
|
|
namespace streamfx::gfx::lut {
|
2021-02-02 21:25:06 +00:00
|
|
|
class data {
|
2021-06-08 02:38:24 +00:00
|
|
|
std::shared_ptr<streamfx::obs::gs::effect> _producer_effect;
|
|
|
|
std::shared_ptr<streamfx::obs::gs::effect> _consumer_effect;
|
2021-02-02 21:25:06 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
static std::shared_ptr<data> instance();
|
|
|
|
|
|
|
|
private:
|
|
|
|
data();
|
|
|
|
|
|
|
|
public:
|
|
|
|
~data();
|
|
|
|
|
2021-06-08 02:38:24 +00:00
|
|
|
inline std::shared_ptr<streamfx::obs::gs::effect> producer_effect()
|
2021-02-02 21:25:06 +00:00
|
|
|
{
|
|
|
|
return _producer_effect;
|
|
|
|
};
|
|
|
|
|
2021-06-08 02:38:24 +00:00
|
|
|
inline std::shared_ptr<streamfx::obs::gs::effect> consumer_effect()
|
2021-02-02 21:25:06 +00:00
|
|
|
{
|
|
|
|
return _consumer_effect;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
enum class color_depth {
|
|
|
|
Invalid = 0,
|
|
|
|
_2 = 2,
|
|
|
|
_4 = 4,
|
|
|
|
_6 = 6,
|
|
|
|
_8 = 8,
|
|
|
|
_10 = 10,
|
|
|
|
_12 = 12,
|
|
|
|
_14 = 14,
|
|
|
|
_16 = 16,
|
|
|
|
};
|
2021-06-08 02:47:04 +00:00
|
|
|
} // namespace streamfx::gfx::lut
|