Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_CompositorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_CompositorOperation.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_CompositorOperation.h b/source/blender/compositor/operations/COM_CompositorOperation.h
index 63b87563852..49ed65f01fc 100644
--- a/source/blender/compositor/operations/COM_CompositorOperation.h
+++ b/source/blender/compositor/operations/COM_CompositorOperation.h
@@ -24,6 +24,8 @@
struct Scene;
+namespace blender::compositor {
+
/**
* \brief Compositor output operation
*/
@@ -86,7 +88,7 @@ class CompositorOperation : public NodeOperation {
{
return this->m_active;
}
- void executeRegion(rcti *rect, unsigned int tileNumber);
+ void executeRegion(rcti *rect, unsigned int tileNumber) override;
void setScene(const struct Scene *scene)
{
m_scene = scene;
@@ -103,17 +105,18 @@ class CompositorOperation : public NodeOperation {
{
this->m_rd = rd;
}
- bool isOutputOperation(bool /*rendering*/) const
+ bool isOutputOperation(bool /*rendering*/) const override
{
return this->isActiveCompositorOutput();
}
- void initExecution();
- void deinitExecution();
- CompositorPriority getRenderPriority() const
+ void initExecution() override;
+ void deinitExecution() override;
+ CompositorPriority getRenderPriority() const override
{
return CompositorPriority::Medium;
}
- void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
+ void determineResolution(unsigned int resolution[2],
+ unsigned int preferredResolution[2]) override;
void setUseAlphaInput(bool value)
{
this->m_useAlphaInput = value;
@@ -123,3 +126,5 @@ class CompositorOperation : public NodeOperation {
this->m_active = active;
}
};
+
+} // namespace blender::compositor