D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER structure (d3d12.h)
Defines the header for a serialized raytracing acceleration structure.
Syntax
typedef struct D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER {
D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER DriverMatchingIdentifier;
UINT64 SerializedSizeInBytesIncludingHeader;
UINT64 DeserializedSizeInBytes;
UINT64 NumBottomLevelAccelerationStructurePointersAfterHeader;
} D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER;
Members
DriverMatchingIdentifier
The driver-matching identifier.
SerializedSizeInBytesIncludingHeader
The size of serialized data.
DeserializedSizeInBytes
Size of the memory that will be consumed when the acceleration structure is deserialized. This value is less than or equal to the size of the original acceleration structure before it was serialized.
NumBottomLevelAccelerationStructurePointersAfterHeader
Size of the array of D3D12_GPU_VIRTUAL_ADDRESS values that follow the header. For more information, see D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |