Radeon Rays

Typedefs

typedef struct _IPLRadeonRaysDevice_t *IPLRadeonRaysDevice

Application-wide state for the Radeon Rays ray tracer.

A Radeon Rays device must be created before using any of Steam Audio’s Radeon Rays ray tracing functionality. In terms of the Radeon Rays API, this object encapsulates a RadeonRays::IntersectionApi object.

Functions

IPLerror iplRadeonRaysDeviceCreate(IPLOpenCLDevice openCLDevice, IPLRadeonRaysDeviceSettings *settings, IPLRadeonRaysDevice *rrDevice)

Creates a Radeon Rays device.

Parameters
  • openCLDevice – The OpenCL device to use for running Radeon Rays.

  • settings – The settings to use when creating the Radeon Rays device.

  • rrDevice – [out] The created Radeon Rays device.

Returns

Status code indicating whether or not the operation succeeded.

IPLRadeonRaysDevice iplRadeonRaysDeviceRetain(IPLRadeonRaysDevice device)

Retains an additional reference to a Radeon Rays device.

Parameters

device – The Radeon Rays device to retain a reference to.

Returns

The additional reference to the Radeon Rays device.

void iplRadeonRaysDeviceRelease(IPLRadeonRaysDevice *device)

Releases a reference to a Radeon Rays device.

Parameters

device – The Radeon Rays device to release a reference to.

Structures

struct IPLRadeonRaysDeviceSettings

Settings used to create a Radeon Rays device.

Public Members

IPLbyte reserved