43 const int nx = flip_x_ ? (
int(this->
get_width()) - 1) - it.x : it.x;
44 const int ny = flip_y_ ? (
int(this->
get_height()) - 1) - it.y : it.y;
45 input_img->
read_elem(input_offset_x + nx, input_offset_y + ny, it.out);
MINLINE void copy_v4_v4(float r[4], const float a[4])
#define UNUSED_VARS_NDEBUG(...)
void update_memory_buffer_partial(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
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.
a MemoryBuffer contains access to the data
const rcti & get_rect() const
get the rect of this MemoryBuffer
bool is_a_single_elem() const
float * get_elem(int x, int y)
void read_elem(int x, int y, float *out) const
unsigned int get_height() const
void add_output_socket(DataType datatype)
unsigned int get_width() const
NodeOperationFlags flags_
const rcti & get_canvas() const
void add_input_socket(DataType datatype, ResizeMode resize_mode=ResizeMode::Center)
void set_canvas_input_index(unsigned int index)
set the index of the input socket that will determine the canvas of this operation
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
typename BuffersIteratorBuilder< T >::Iterator BuffersIterator