// d3d12umddi.h
typedef struct D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 {
D3D12DDI_GPU_VIRTUAL_ADDRESS DestAccelerationStructureData;
D3D12DDI_GPU_VIRTUAL_ADDRESS SourceAccelerationStructureData;
D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE Mode;
} D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054;
View the official Windows Driver Kit DDI referenceNo description available.
Arguments used in the CopyRayTracingAccelerationStructure callback function.
DestAccelerationStructureDataDestination memory. The required size can be discovered by calling EmitRaytracingAccelerationStructurePostBuildInfo beforehand, if necessary, depending on the Mode.
Destination start address must be 256 byte aligned, regardless of the Mode.
Destination memory range cannot overlap source otherwise results are undefined.
The resource state that the memory pointed to must be dependent on the Mode parameter. See D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE.
SourceAccelerationStructureDataAcceleration structure to copy or transform based on the specified Mode. The source acceleration structure remains unchanged and still usable. The operation only involves the source acceleration structure directly specified and not others it may point to. For example, in the case of a top-level acceleration structure, any bottom-level acceleration structures that it points to are not involved in the operation.
The resource state that the memory pointed to must be dependent on the Mode parameter. See D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE.
ModeType of copy operation to perform.