DirectX Raytracing

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

DirectX Raytracing (DXR) is a feature of Microsoft's DirectX that allows for hardware real-time raytracing,[1] a significant advancement in computer graphics[citation needed] first seen on the consumer level in GPUs such as the Nvidia GeForce 20 series announced in 2018.[2] DXR is not released as part of a new version of DirectX but rather as a compatible extension to DirectX 12.

Windows 10 October 2018 update includes the public release of DirectX Raytracing.[3]

Technical details[edit]

DXR introduces 4 main elements to the DirectX 12 API:[1]

  • An "acceleration structure" which is an object that holds a representation of a 3D environment so that objects contained in the scene can be found quickly by the GPU
  • A command list method called DispatchRays that controls raytracing
  • HLSL shader types appropriate for raytracing
  • The Raytracing pipeline state, comparable to the existing Graphics and Compute pipeline states


  1. ^ a b "Announcing Microsoft DirectX Raytracing!". Microsoft.
  2. ^ "Nvidia reveals $800 GeForce RTX 2080 at Gamescom 2018". CNet.
  3. ^

External links[edit]