Push the const usage a bit further for compositor nodes, so that they are more explicit about not modifying original nodes from the editor. Differential Revision: https://developer.blender.org/D15822
23 lines
501 B
C++
23 lines
501 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2011 Blender Foundation. */
|
|
|
|
#pragma once
|
|
|
|
#include "COM_GlareBaseOperation.h"
|
|
#include "COM_NodeOperation.h"
|
|
#include "DNA_node_types.h"
|
|
|
|
namespace blender::compositor {
|
|
|
|
class GlareGhostOperation : public GlareBaseOperation {
|
|
public:
|
|
GlareGhostOperation() : GlareBaseOperation()
|
|
{
|
|
}
|
|
|
|
protected:
|
|
void generate_glare(float *data, MemoryBuffer *input_tile, const NodeGlare *settings) override;
|
|
};
|
|
|
|
} // namespace blender::compositor
|