23 NodeInput *input_socket = this->get_input_socket(0);
34 const float render_size_factor =
context.get_render_percentage_as_factor();
35 float fx = rd->
xsch * render_size_factor;
36 float fy = rd->
ysch * render_size_factor;
Overall context of the compositor.
void add_link(NodeOperationOutput *from, NodeOperationInput *to)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOperationInput * get_input_socket(unsigned int index)
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
NodeInput * get_input_socket(unsigned int index) const
void set_memory_proxy(MemoryProxy *memory_proxy)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
TranslateNode(bNode *editor_node)
void set_wrapping(int wrapping_type)
void setFactorXY(float factorX, float factorY)
void set_wrapping(int wrapping_type)
NodeOperation to write to a tile.
MemoryProxy * get_memory_proxy()