rrAllocateAccelerationStructureDevicePtr

Obtains device pointer to allocated acceleration structure.

RRError rrAllocateAccelerationStructureDevicePtr(

RRContext context,

RRDevicePtr* device_ptr);

Applies to

Native

Parameters

Parameter

Input/Output

Description

context

input

RR API context.

device_ptr

output

RR device pointer to an acceleration structure.

Return

Returns an error in case of a failure, or RR_Success otherwise.