Bewerken

Delen via


D3D12DDI_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS_0054 structure (d3d12umddi.h)

Build inputs for the PFND3D12DDI_GET_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO_0054 callback function.

Syntax

typedef struct D3D12DDI_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS_0054 {
  D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_TYPE        Type;
  D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS Flags;
  UINT                                                   NumDescs;
  D3D12DDI_ELEMENTS_LAYOUT                               DescsLayout;
  union {
    D3D12DDI_GPU_VIRTUAL_ADDRESS                 InstanceDescs;
    const D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 *pGeometryDescs;
    const D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 const * * ppGeometryDescs;
  };
} D3D12DDI_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS_0054;

Members

Type

A D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_TYPE enumeration that specifies the type of ray tracing acceleration structure to build.

Flags

A D3D12DDI_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS flag that specifies the build options.

NumDescs

The acceleration structure update count.

DescsLayout

A D3D12DDI_ELEMENTS_LAYOUT that defines the geometry ordering in a bottom-level acceleration structure.

InstanceDescs

A D3D12DDI_GPU_VIRTUAL_ADDRESS that defines the instance order in a top-level acceleration structure.

pGeometryDescs

Pointer to a D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 that defines the geometry description.

ppGeometryDescs

Pointer to the D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 pointer.

Requirements

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