github
0 of 965 new or added lines in 56 files covered. (0.0%)
33 existing lines in 8 files now uncovered.33165 of 104595 relevant lines covered (31.71%)
48443.19 hits per line
1 |
#pragma once
|
|
2 |
|
|
3 |
namespace rendergraph { |
|
4 |
class Engine; |
|
5 |
} |
|
6 |
|
|
7 |
namespace rendergraph::backend { |
|
8 |
class Node; |
|
9 |
} |
|
10 |
|
|
11 |
class rendergraph::backend::Node { |
|
12 |
protected:
|
|
NEW
|
Node() = default;
|
× |
14 |
|
|
15 |
public:
|
|
NEW
|
void setUsePreprocessFlag(bool value) { |
× |
NEW
|
m_usePreprocess = value; |
× |
NEW
|
} |
× |
NEW
|
bool usePreprocess() const { |
× |
NEW
|
return m_usePreprocess;
|
× |
21 |
} |
|
NEW
|
virtual bool isSubtreeBlocked() const { |
× |
NEW
|
return false; |
× |
24 |
} |
|
NEW
|
virtual void preprocess() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void renderBackend() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void initializeBackend() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void resizeBackend(int, int) { |
× |
NEW
|
} |
× |
33 |
|
|
NEW
|
void setEngine(Engine* pEngine) {
|
× |
NEW
|
m_pEngine = pEngine; |
× |
NEW
|
} |
× |
NEW
|
Engine* engine() const {
|
× |
NEW
|
return m_pEngine;
|
× |
39 |
} |
|
40 |
|
|
41 |
private:
|
|
42 |
bool m_usePreprocess{};
|
|
43 |
Engine* m_pEngine{}; |
|
44 |
}; |