Skip to content

Commit d23a43e

Browse files
authored
Add missing MR API call declaration (#289)
1 parent c632a10 commit d23a43e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

include/rgl/api/core.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,17 @@ RGL_API rgl_status_t rgl_node_gaussian_noise_angular_hitpoint(rgl_node_t* node,
929929
RGL_API rgl_status_t rgl_node_gaussian_noise_distance(rgl_node_t* node, float mean, float st_dev_base,
930930
float st_dev_rise_per_meter);
931931

932+
/**
933+
* Creates or modifies MultiReturnSwitchNode
934+
* This is a special node which does not modify the data but acts as an adapter to the multi-return feature.
935+
* Thanks to this node, user can attach unchanged pipelines to work with specific return type from multi-return raytracing.
936+
* Graph input: point cloud (with multi-return fields)
937+
* Graph output: point cloud (with a selected field from parent's multi-return point cloud)
938+
* @param node If (*node) == nullptr, a new Node will be created. Otherwise, (*node) will be modified.
939+
* @param return_type Return type to select from multi-return point cloud.
940+
*/
941+
RGL_API rgl_status_t rgl_node_multi_return_switch(rgl_node_t* node, rgl_return_type_t);
942+
932943
/**
933944
* Assigns value true to out_alive if the given node is known and has not been destroyed,
934945
* assigns value false otherwise.

0 commit comments

Comments
 (0)