PFND3D12DDI_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 callback function (d3d12umddi.h)

Copies a ray tracing acceleration structure.

Syntax

PFND3D12DDI_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 Pfnd3d12ddiCopyRaytracingAccelerationStructure0054;

void Pfnd3d12ddiCopyRaytracingAccelerationStructure0054(
  D3D12DDI_HCOMMANDLIST unnamedParam1,
  const D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to a command list.

unnamedParam2

Pointer to a D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 structure.

Return value

None

Remarks

Since ray tracing acceleration structures may contain internal pointers and have a device dependent opaque layout, copying them around or otherwise manipulating them requires a dedicated API so that drivers can handle the requested operation. The CopyRaytracingAccelerationStructure API takes a source acceleration structure and copies it to destination memory while applying the transformation requested by the Mode parameter.

Can be called on graphics or compute command lists but not from bundles.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h