# vkGetPartitionedAccelerationStructuresBuildSizesNV(3) Manual Page

## Name

vkGetPartitionedAccelerationStructuresBuildSizesNV - Retrieve the buffer allocation requirements for partitioned acceleration structure command

Loading… please wait.

## C Specification

To determine the memory requirements for a PTAS, call:

    // Provided by VK_NV_partitioned_acceleration_structure
    void vkGetPartitionedAccelerationStructuresBuildSizesNV(
        VkDevice                                    device,
        const VkPartitionedAccelerationStructureInstancesInputNV* pInfo,
        VkAccelerationStructureBuildSizesInfoKHR*   pSizeInfo);

## Parameters

- `device` is the logical device that owns the acceleration structure.

- `pInfo` is a pointer to a VkPartitionedAccelerationStructureInstancesInputNV structure containing parameters required for the memory requirements query.

- `pSizeInfo` is a pointer to a VkAccelerationStructureBuildSizesInfoKHR structure which returns the size required for an acceleration structure and the sizes required for the scratch buffers, given the build parameters.

## Description

Valid Usage

- VUID-vkGetPartitionedAccelerationStructuresBuildSizesNV-partitionedAccelerationStructure-10534
  The `VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV`::`partitionedAccelerationStructure` feature must be enabled

Valid Usage (Implicit)

- VUID-vkGetPartitionedAccelerationStructuresBuildSizesNV-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkGetPartitionedAccelerationStructuresBuildSizesNV-pInfo-parameter
  `pInfo` must be a valid pointer to a valid VkPartitionedAccelerationStructureInstancesInputNV structure

- VUID-vkGetPartitionedAccelerationStructuresBuildSizesNV-pSizeInfo-parameter
  `pSizeInfo` must be a valid pointer to a VkAccelerationStructureBuildSizesInfoKHR structure

## See Also

VK_NV_partitioned_acceleration_structure, VkAccelerationStructureBuildSizesInfoKHR, VkDevice, VkPartitionedAccelerationStructureInstancesInputNV

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0