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_TextureOperation.h
parent9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (diff)
Cleanup: Add override keyword.
Diffstat (limited to 'source/blender/compositor/operations/COM_TextureOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_TextureOperation.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/compositor/operations/COM_TextureOperation.h b/source/blender/compositor/operations/COM_TextureOperation.h
index a40dafd14cf..1a6e005f752 100644
--- a/source/blender/compositor/operations/COM_TextureOperation.h
+++ b/source/blender/compositor/operations/COM_TextureOperation.h
@@ -44,7 +44,8 @@ class TextureBaseOperation : 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;
/**
* Constructor
@@ -52,14 +53,14 @@ class TextureBaseOperation : public NodeOperation {
TextureBaseOperation();
public:
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
void setTexture(Tex *texture)
{
this->m_texture = texture;
}
- void initExecution();
- void deinitExecution();
+ void initExecution() override;
+ void deinitExecution() override;
void setRenderData(const RenderData *rd)
{
this->m_rd = rd;
@@ -77,5 +78,5 @@ class TextureOperation : public TextureBaseOperation {
class TextureAlphaOperation : public TextureBaseOperation {
public:
TextureAlphaOperation();
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
};