rtcSetDeviceErrorFunction - Online Linux Manual Page
Section : 3
Updated :
Source :
Note : Embree Ray Tracing Kernels 3
NAME
rtcSetDeviceErrorFunction − sets an error callback function for the device
SYNOPSIS
#include <embree3/rtcore.h>
typedef void (*RTCErrorFunction)(
void* userPtr,
RTCError code,
const char* str
);
void rtcSetDeviceErrorFunction(
RTCDevice device,
RTCErrorFunction error,
void* userPtr
);
DESCRIPTIONUsing the rtcSetDeviceErrorFunction call, it is possible to set a callback function (error argument) with payload (userPtr argument), which is called whenever an error occurs for the specified device (device argument). Only a single callback function can be registered per device, and further invocations overwrite the previously set callback function. Passing NULL as function pointer disables the registered callback function. When the registered callback function is invoked, it gets passed the user−defined payload (userPtr argument as specified at registration time), the error code (code argument) of the occurred error, as well as a string (str argument) that further describes the error. The error code is also set if an error callback function is registered.
EXIT STATUSOn failure an error code is set that can be queried using rtcGetDeviceError.
SEE ALSO[rtcGetDeviceError] 0
Johanes Gumabo
Data Size : 5,604 byte
man-rtcSetDeviceErrorFunction.3embree3Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 15 / 1,383,704
Visitor ID : :
Visitor IP : 18.117.232.234 :
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
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.