51 is_relative_ = is_relative;
70 std::unique_lock
lock(mutex_);
82 delta_x_ *= input_width;
83 delta_y_ *= input_height;
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
a MemoryBuffer contains access to the data
float get_constant_value_default(float default_value)
const rcti & get_canvas() const
NodeOperation * get_input_operation(int index)
TranslateCanvasOperation()
void determine_canvas(const rcti &preferred_area, rcti &r_area) override
void update_memory_buffer_started(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
static constexpr int IMAGE_INPUT_INDEX
MemoryBufferExtend y_extend_mode_
void set_is_relative(const bool is_relative)
MemoryBufferExtend x_extend_mode_
static constexpr int X_INPUT_INDEX
void update_memory_buffer_partial(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
void set_sampler(PixelSampler sampler)
static constexpr int Y_INPUT_INDEX
void set_wrapping(int wrapping_type)
void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override
Get input operation area being read by this operation on rendering given output area.
PixelSampler get_sampler()
local_group_size(16, 16) .push_constant(Type local_group_size(16, 16) .push_constant(Type input_tx sampler(1, ImageType::FLOAT_2D, "matte_tx") .image(0
DataType
possible data types for sockets
ResizeMode
Resize modes of inputsockets How are the input and working resolutions matched.
@ Center
Center the input image to the center of the working area of the node, no resizing occurs.