rrMapDevicePtr

Maps device pointer to host ptr.

RRError rrMapDevicePtr(

RRContext context,

RRDevicePtr device_ptr);

void** mapping_ptr);

Applies to

Vulkan

Parameters

Parameter

Input/Output

Description

context

input

RR API context.

device_ptr

input

RR device pointer to the resource.

mapping_ptr

output

Pointer to mapping host memory.

Return

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