summaryrefslogtreecommitdiff
path: root/src/render/pass/ClearPassElement.cpp
blob: 8508072332d8643308d50c61075fabeadb87ae63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "ClearPassElement.hpp"

CClearPassElement::CClearPassElement(const CClearPassElement::SClearData& data_) : m_data(data_) {
    ;
}

bool CClearPassElement::needsLiveBlur() {
    return false;
}

bool CClearPassElement::needsPrecomputeBlur() {
    return false;
}

std::optional<CBox> CClearPassElement::boundingBox() {
    return CBox{{}, {INT16_MAX, INT16_MAX}};
}

CRegion CClearPassElement::opaqueRegion() {
    return *boundingBox();
}