18 const float render_size_factor =
context.get_render_percentage_as_factor();
47 (editor_node->
custom3 > FLT_EPSILON)) {
@ CMP_NODEFLAG_MASK_FIXED_SCENE
@ CMP_NODEFLAG_MASK_NO_FEATHER
@ CMP_NODEFLAG_MASK_FIXED
@ CMP_NODEFLAG_MASK_MOTION_BLUR
Overall context of the compositor.
MaskNode(bNode *editor_node)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void set_mask_height(int height)
void set_motion_blur_samples(int samples)
void set_feather(bool feather)
void set_mask_width(int width)
void set_mask(Mask *mask)
void set_motion_blur_shutter(float shutter)
void set_framenumber(int frame_number)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_operation(NodeOperation *operation)
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOutput are sockets that can send data/input.
NodeOutput * get_output_socket(unsigned int index=0) const
bNode * get_bnode() const
get the reference to the SDNA bNode struct
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)