rtcSetSceneProgressMonitorFunction - Online Linux Manual Page

Section : 3
Updated :
Source :
Note : Embree Ray Tracing Kernels 3
NAME rtcSetSceneProgressMonitorFunction − registers a callback   to track build progress

SYNOPSIS #include <embree3/rtcore.h> typedef bool (*RTCProgressMonitorFunction)(   void* ptr,   double n ); void rtcSetSceneProgressMonitorFunction(   RTCScene scene,   RTCProgressMonitorFunction progress,   void* userPtr );

DESCRIPTIONEmbree supports a progress monitor callback mechanism that can be used to report progress of hierarchy build operations and to cancel build operations. The rtcSetSceneProgressMonitorFunction registers a progress monitor callback function (progress argument) with payload (userPtr argument) for the specified scene (scene argument). Only a single callback function can be registered per scene, and further invocations overwrite the previously set callback function. Passing NULL as function pointer disables the registered callback function. Once registered, Embree will invoke the callback function multiple times during hierarchy build operations of the scene, by passing the payload as set at registration time (userPtr argument), and a double in the range [0, 1] which estimates the progress of the operation (n argument). The callback function might be called from multiple threads concurrently. When returning true from the callback function, Embree will continue the build operation normally. When returning false, Embree will cancel the build operation with the RTC_ERROR_CANCELLED error code. Issuing multiple cancel requests for the same build operation is allowed.

EXIT STATUSOn failure an error code is set that can be queried using rtcGetDeviceError.

SEE ALSO[rtcNewScene]

Johanes Gumabo
Data Size   :   6,303 byte man-rtcSetSceneProgressMonitorFunction.3embree3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   1280 x 720
Visitor Counter ( page / site )   :   3 / 1,738,524
Visitor ID   :     :  
Visitor IP   :   3.12.84.239   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.