blob: bf3bb4bfdaf2725197aa9d1a2e309fd68148d606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "PassElement.hpp"
#include "../Framebuffer.hpp"
class ITexture;
class CTextureMatteElement : public IPassElement {
public:
struct STextureMatteData {
CBox box;
SP<ITexture> tex;
SP<IFramebuffer> fb;
bool disableTransformAndModify = false;
};
CTextureMatteElement(const STextureMatteData& data_);
virtual ~CTextureMatteElement() = default;
virtual bool needsLiveBlur();
virtual bool needsPrecomputeBlur();
virtual const char* passName() {
return "CTextureMatteElement";
}
virtual ePassElementType type() {
return EK_TEXTURE_MATTE;
};
STextureMatteData m_data;
};
|