.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "rtcGetSceneDevice" "3" "" "" "Embree Ray Tracing Kernels 4" .hy .SS NAME .IP .nf \f[C] rtcGetSceneDevice - returns the device the scene got created in \f[R] .fi .SS SYNOPSIS .IP .nf \f[C] #include RTCDevice rtcGetSceneDevice(RTCScene scene); \f[R] .fi .SS DESCRIPTION .PP This function returns the device object the scene got created in. The returned handle own one additional reference to the device object, thus you should need to call \f[V]rtcReleaseDevice\f[R] when the returned handle is no longer required. .SS EXIT STATUS .PP On failure an error code is set that can be queried using \f[V]rtcGetDeviceError\f[R]. .SS SEE ALSO .PP [rtcReleaseDevice]