Embree¶
Typedefs¶
-
typedef struct _IPLEmbreeDevice_t *IPLEmbreeDevice¶
Application-wide state for the Embree ray tracer.
An Embree device must be created before using any of Steam Audio’s Embree ray tracing functionality. In terms of the Embree API, this object encapsulates an
RTCDevice
object.
Functions¶
-
IPLerror iplEmbreeDeviceCreate(IPLContext context, IPLEmbreeDeviceSettings *settings, IPLEmbreeDevice *device)¶
Creates an Embree device.
- Parameters
context – The context used to initialize Steam Audio.
settings – The settings to use when creating the Embree device.
device – [out] The created Embree device.
- Returns
Status code indicating whether or not the operation succeeded.
-
IPLEmbreeDevice iplEmbreeDeviceRetain(IPLEmbreeDevice device)¶
Retains an additional reference to an Embree device.
- Parameters
device – The Embree device to retain a reference to.
- Returns
The additional reference to the Embree device.
-
void iplEmbreeDeviceRelease(IPLEmbreeDevice *device)¶
Releases a reference to an Embree device.
- Parameters
device – The Embree device to release a reference to.