D3D12DDIARG_COPY_RAYTRACING_ACCELERATION_STRUCTURE_0054 structure (d3d12umddi.h)
Arguments used in the CopyRayTracingAccelerationStructure callback function.
Syntax
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;
Members
DestAccelerationStructureData
Destination 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.
SourceAccelerationStructureData
Acceleration 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.
Mode
Type of copy operation to perform.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Header | d3d12umddi.h |