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:
authorJeroen Bakker <jeroen@blender.org>2021-03-24 17:30:36 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-24 19:56:29 +0300
commite2d362757fb7e2e9d768906d5b4aefc5aaccdf67 (patch)
tree305864b9f5a58695df610a196f21de873e8ef8d0 /source/blender/compositor/operations/COM_ImageOperation.h
parent9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (diff)
Cleanup: Add override keyword.
Diffstat (limited to 'source/blender/compositor/operations/COM_ImageOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ImageOperation.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_ImageOperation.h b/source/blender/compositor/operations/COM_ImageOperation.h
index bff8dcc1cea..0bb92ce1b7e 100644
--- a/source/blender/compositor/operations/COM_ImageOperation.h
+++ b/source/blender/compositor/operations/COM_ImageOperation.h
@@ -49,13 +49,14 @@ class BaseImageOperation : public NodeOperation {
/**
* Determine the output resolution. The resolution is retrieved from the Renderer
*/
- void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
+ void determineResolution(unsigned int resolution[2],
+ unsigned int preferredResolution[2]) override;
virtual ImBuf *getImBuf();
public:
- void initExecution();
- void deinitExecution();
+ void initExecution() override;
+ void deinitExecution() override;
void setImage(Image *image)
{
this->m_image = image;
@@ -83,7 +84,7 @@ class ImageOperation : public BaseImageOperation {
* Constructor
*/
ImageOperation();
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
};
class ImageAlphaOperation : public BaseImageOperation {
public:
@@ -91,7 +92,7 @@ class ImageAlphaOperation : public BaseImageOperation {
* Constructor
*/
ImageAlphaOperation();
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
};
class ImageDepthOperation : public BaseImageOperation {
public:
@@ -99,5 +100,5 @@ class ImageDepthOperation : public BaseImageOperation {
* Constructor
*/
ImageDepthOperation();
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
};