Blender
V4.3
source
blender
compositor
operations
COM_IDMaskOperation.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2011 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
COM_MultiThreadedOperation.h
"
8
9
namespace
blender::compositor
{
10
11
class
IDMaskOperation
:
public
MultiThreadedOperation
{
12
private
:
13
float
object_index_;
14
15
public
:
16
IDMaskOperation
();
17
18
void
set_object_index
(
float
object_index)
19
{
20
object_index_ = object_index;
21
}
22
23
void
update_memory_buffer_partial
(
MemoryBuffer
*output,
24
const
rcti
&area,
25
Span<MemoryBuffer *>
inputs)
override
;
26
};
27
28
}
// namespace blender::compositor
COM_MultiThreadedOperation.h
blender::Span
Definition
BLI_span.hh:75
blender::compositor::IDMaskOperation
Definition
COM_IDMaskOperation.h:11
blender::compositor::IDMaskOperation::update_memory_buffer_partial
void update_memory_buffer_partial(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
Definition
COM_IDMaskOperation.cc:16
blender::compositor::IDMaskOperation::IDMaskOperation
IDMaskOperation()
Definition
COM_IDMaskOperation.cc:9
blender::compositor::IDMaskOperation::set_object_index
void set_object_index(float object_index)
Definition
COM_IDMaskOperation.h:18
blender::compositor::MemoryBuffer
a MemoryBuffer contains access to the data
Definition
COM_MemoryBuffer.h:35
blender::compositor::MultiThreadedOperation
Definition
COM_MultiThreadedOperation.h:11
blender::compositor
Definition
COM_JumpFloodingAlgorithm.cc:20
rcti
Definition
DNA_vec_types.h:68
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0