PFND3D12DDI_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 callback function

Copies a ray tracing acceleration structure.

Syntax

PFND3D12DDI_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 Pfnd3d12ddiCopyRaytracingAccelerationStructure0054;

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

Parameters

Arg1

A handle to a command list.

*

Pointer to a D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 structure.

Return Value

Returns VOID.

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

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