Syntax
Parameters
pDesc [in]Type: const D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC * Description of the acceleration structure to build. NumPostbuildInfoDescs [in]
Type: UINT Size of the pPostbuildInfoDescs array. Set to 0 if no post-build info is needed. pPostbuildInfoDescs [in]
Type: const D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC * Optional array of descriptions for post-build info to generate describing properties of the acceleration structure that was built.
Return value
Type: void None.Remarks
This method can be called on graphics or compute command lists but not from bundles. Post-build information can also be obtained separately from an already built acceleration structure by calling EmitRaytracingAccelerationStructurePostbuildInfo. The advantage of generating post-build info along with a build is that a barrier isn’t needed in between the build completing and requesting post-build information, enabling scenarios where the app needs the post-build info right away.Requirements
Header: d3d12_xs.hLibrary: d3d12_xs.lib
Supported Platforms: XBOX Series consoles
