mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
gfx-source-texture: Delete copy and move constructors and operators
This commit is contained in:
parent
a15f1934b3
commit
fa4a81bb54
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,15 @@ namespace gfx {
|
||||||
source_texture(std::shared_ptr<obs::source> child, std::shared_ptr<obs::source> parent);
|
source_texture(std::shared_ptr<obs::source> child, std::shared_ptr<obs::source> parent);
|
||||||
source_texture(std::shared_ptr<obs::source> child, obs_source_t* parent);
|
source_texture(std::shared_ptr<obs::source> child, obs_source_t* parent);
|
||||||
|
|
||||||
|
public /*copy*/:
|
||||||
|
source_texture(source_texture const& other) = delete;
|
||||||
|
source_texture& operator=(source_texture const& other) = delete;
|
||||||
|
|
||||||
|
public /*move*/:
|
||||||
|
source_texture(source_texture&& other) = delete;
|
||||||
|
source_texture& operator=(source_texture&& other) = delete;
|
||||||
|
|
||||||
|
public:
|
||||||
std::shared_ptr<gs::texture> render(size_t width, size_t height);
|
std::shared_ptr<gs::texture> render(size_t width, size_t height);
|
||||||
|
|
||||||
public: // Unsafe Methods
|
public: // Unsafe Methods
|
||||||
|
|
Loading…
Reference in a new issue