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
|
2022-08-29 10:29:44 +00:00
|
|
|
#include "warning-disable.hpp"
|
2021-02-02 21:25:06 +00:00
|
|
|
#include <memory>
|
|
|
|
#include "gfx-lut.hpp"
|
2022-11-28 08:11:55 +00:00
|
|
|
#include "gfx/gfx-util.hpp"
|
2021-02-02 21:25:06 +00:00
|
|
|
#include "obs/gs/gs-effect.hpp"
|
|
|
|
#include "obs/gs/gs-rendertarget.hpp"
|
2022-08-29 10:29:44 +00:00
|
|
|
#include "warning-enable.hpp"
|
2021-02-02 21:25:06 +00:00
|
|
|
|
2021-06-08 02:47:04 +00:00
|
|
|
namespace streamfx::gfx::lut {
|
2021-02-02 21:25:06 +00:00
|
|
|
class producer {
|
2021-06-08 02:47:04 +00:00
|
|
|
std::shared_ptr<streamfx::gfx::lut::data> _data;
|
2021-06-08 02:38:24 +00:00
|
|
|
std::shared_ptr<streamfx::obs::gs::rendertarget> _rt;
|
2022-11-28 08:11:55 +00:00
|
|
|
std::shared_ptr<streamfx::gfx::util> _gfx_util;
|
2021-02-02 21:25:06 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
producer();
|
|
|
|
~producer();
|
|
|
|
|
2021-06-08 02:47:04 +00:00
|
|
|
std::shared_ptr<streamfx::obs::gs::texture> produce(streamfx::gfx::lut::color_depth depth);
|
2021-02-02 21:25:06 +00:00
|
|
|
};
|
2021-06-08 02:47:04 +00:00
|
|
|
} // namespace streamfx::gfx::lut
|