Showing the changes to libraries/render-utils/src/DebugDeferredBuffer.h (1 of 7 files). Show all
Unified · Split
| @@ -25,14 +25,14 @@ class DebugDeferredBufferConfig : public render::Job::Config { · 24 unmodified lines | |||
| 25 | Q_OBJECT | 25 | Q_OBJECT |
| 26 | Q_PROPERTY(bool enabled MEMBER enabled) | 26 | Q_PROPERTY(bool enabled MEMBER enabled) |
| 27 | Q_PROPERTY(int mode MEMBER mode WRITE setMode) | 27 | Q_PROPERTY(int mode MEMBER mode WRITE setMode) |
| 28 | Q_PROPERTY(glm::vec4 size MEMBER size NOTIFY dirty) | 28 | Q_PROPERTY(glm::vec2 debugCursorTexcoord MEMBER debugCursorTexcoord NOTIFY dirty) |
| 29 | public: | 29 | public: |
| 30 | DebugDeferredBufferConfig() : render::Job::Config(false) {} | 30 | DebugDeferredBufferConfig() : render::Job::Config(false) {} |
| 31 | 31 | ||
| 32 | void setMode(int newMode); | 32 | void setMode(int newMode); |
| 33 | 33 | ||
| 34 | int mode{ 0 }; | 34 | int mode{ 0 }; |
| 35 | glm::vec4 size{ 0.0f, -1.0f, 1.0f, 1.0f }; | 35 | glm::vec2 debugCursorTexcoord{ 0.5f, 0.5f }; |
| 36 | signals: | 36 | signals: |
| 37 | void dirty(); | 37 | void dirty(); |
| 38 | }; | 38 | }; |