Files
test/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
645 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2011 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "COM_MultiThreadedOperation.h"
2021-03-23 17:12:27 +01:00
namespace blender::compositor {
/**
* This operation will apply a mask to its input image.
*
* `output color.rgba = input color.rgba * input alpha`
*/
class SetAlphaMultiplyOperation : public MultiThreadedOperation {
public:
SetAlphaMultiplyOperation();
void update_memory_buffer_partial(MemoryBuffer *output,
const rcti &area,
Span<MemoryBuffer *> inputs) override;
};
2021-03-23 17:12:27 +01:00
} // namespace blender::compositor