github
0 of 1108 new or added lines in 68 files covered. (0.0%)
37 existing lines in 9 files now uncovered.33281 of 104907 relevant lines covered (31.72%)
48143.57 hits per line
1 |
#pragma once
|
|
2 |
|
|
3 |
#include <QMatrix4x4> |
|
4 |
|
|
5 |
namespace rendergraph { |
|
6 |
class BaseNode; |
|
7 |
class Engine; |
|
8 |
} |
|
9 |
|
|
10 |
class rendergraph::BaseNode { |
|
11 |
protected:
|
|
NEW
|
BaseNode() = default;
|
× |
13 |
|
|
14 |
public:
|
|
NEW
|
void setUsePreprocessFlag(bool value) { |
× |
NEW
|
m_usePreprocess = value; |
× |
NEW
|
} |
× |
NEW
|
bool usePreprocess() const { |
× |
NEW
|
return m_usePreprocess;
|
× |
20 |
} |
|
NEW
|
virtual bool isSubtreeBlocked() const { |
× |
NEW
|
return false; |
× |
23 |
} |
|
NEW
|
virtual void preprocess() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void render() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void initialize() {
|
× |
NEW
|
} |
× |
NEW
|
virtual void resize(int, int) { |
× |
NEW
|
} |
× |
NEW
|
void setEngine(Engine* engine) {
|
× |
NEW
|
m_pEngine = engine; |
× |
NEW
|
} |
× |
NEW
|
Engine* engine() const {
|
× |
NEW
|
return m_pEngine;
|
× |
37 |
} |
|
38 |
|
|
39 |
private:
|
|
40 |
Engine* m_pEngine{}; |
|
41 |
bool m_usePreprocess{};
|
|
42 |
}; |