14 return data->threshold / 2.0f;
21 return data->contrast_limit * 10.0f;
28 return int(data->corner_rounding * 100.0f);
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
Overall context of the compositor.
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 * get_output_socket(unsigned int index=0) const
NodeInput * get_input_socket(unsigned int index) const
const bNode * get_bnode() const
get the reference to the SDNA bNode struct
void set_threshold(float threshold)
void set_local_contrast_adaptation_factor(float factor)
void set_corner_rounding(int corner_rounding)
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
static float get_threshold(const NodeAntiAliasingData *data)
static float get_local_contrast_adaptation_factor(const NodeAntiAliasingData *data)
static int get_corner_rounding(const NodeAntiAliasingData *data)