19using namespace nodes::derived_node_tree_types;
43 FunctionRef<
bool(DNode)> condition);
47 FunctionRef<
bool(DInputSocket)> condition);
struct GPUShader GPUShader
bool is_pixel_node(DNode node)
bool is_node_preview_needed(const DNode &node)
bool is_output_linked_to_node_conditioned(DOutputSocket output, FunctionRef< bool(DNode)> condition)
void compute_preview_from_result(Context &context, const DNode &node, Result &input_result)
DOutputSocket get_output_linked_to_input(DInputSocket input)
int number_of_inputs_linked_to_output_conditioned(DOutputSocket output, FunctionRef< bool(DInputSocket)> condition)
void parallel_for(const int2 range, FunctionRef< void(int2)> function)
DOutputSocket find_preview_output_socket(const DNode &node)
ResultType get_node_socket_result_type(const bNodeSocket *socket)
InputDescriptor input_descriptor_from_input_socket(const bNodeSocket *socket)
void compute_dispatch_threads_at_least(GPUShader *shader, int2 threads_range, int2 local_size=int2(16))
DSocket get_input_origin_socket(DInputSocket input)
VecBase< int32_t, 2 > int2