D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 structure (d3d12umddi.h)

Describes a ray tracing geometry.

Syntax

typedef struct D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054 {
  D3D12DDI_RAYTRACING_GEOMETRY_TYPE  Type;
  D3D12DDI_RAYTRACING_GEOMETRY_FLAGS Flags;
  union {
    D3D12DDI_RAYTRACING_GEOMETRY_TRIANGLES_DESC_0054 Triangles;
    D3D12DDI_RAYTRACING_GEOMETRY_AABBS_DESC_0054     AABBs;
  };
} D3D12DDI_RAYTRACING_GEOMETRY_DESC_0054;

Members

Type

A D3D12DDI_RAYTRACING_GEOMETRY_TYPE type.

Flags

A D3D12DDI_RAYTRACING_GEOMETRY_FLAGS flag.

Triangles

A D3D12DDI_RAYTRACING_GEOMETRY_TRIANGLES_DESC_0054 structure that describes a triangle geometry if Type is D3D12DDI_RAYTRACING_GEOMETRY_TYPE_TRIANGLES. Otherwise, this parameter is unused.

AABBs

A D3D12DDI_RAYTRACING_GEOMETRY_AABBS_DESC_0054 structure that describes an AABB (axis-aligned bounding box) geometry if Type is D3D12DDI_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBS. Otherwise, this parameter is unused.

Requirements

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