Skip to main content
Represents prebuild information about a raytracing acceleration structure. Get an instance of this structure by calling GetRaytracingAccelerationStructurePrebuildInfo.

Syntax

Members

ResultDataMaxSizeInBytes
Type: UINT64
Size required to hold the result of an acceleration structure build based on the specified inputs. ScratchDataSizeInBytes
Type: UINT64
Scratch storage on the GPU required during acceleration structure build based on the specified inputs.

UpdateScratchDataSizeInBytes

Scratch storage on GPU required during an acceleration structure update based on the specified inputs. This only needs to be called for the original acceleration structure build, and defines the scratch storage requirement for every acceleration structure update, other than the initial build. If the D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_ALLOW_UPDATE flag is not specified when calling GetRaytracingAccelerationStructurePrebuildInfo, the returned value of this field is 0. UpdateScratchDataSizeInBytes
Type: UINT64

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles
Last modified on August 20, 2026