obs-StreamFX/source/gfx/lut/gfx-lut-producer.hpp

27 lines
766 B
C++
Raw Normal View History

// AUTOGENERATED COPYRIGHT HEADER START
// Copyright (C) 2021-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
// AUTOGENERATED COPYRIGHT HEADER END
#pragma once
#include "warning-disable.hpp"
#include <memory>
#include "gfx-lut.hpp"
#include "gfx/gfx-util.hpp"
#include "obs/gs/gs-effect.hpp"
#include "obs/gs/gs-rendertarget.hpp"
#include "warning-enable.hpp"
2021-06-08 02:47:04 +00:00
namespace streamfx::gfx::lut {
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;
std::shared_ptr<streamfx::gfx::util> _gfx_util;
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-06-08 02:47:04 +00:00
} // namespace streamfx::gfx::lut