VkMemoryRequirements2(3)

# VkMemoryRequirements2(3) Manual Page

## Name

VkMemoryRequirements2 - Structure specifying memory requirements

Loading... please wait.

## C Specification

The `VkMemoryRequirements2` structure is defined as:

    typedef struct VkMemoryRequirements2 {
        VkStructureType         sType;
        void*                   pNext;
        VkMemoryRequirements    memoryRequirements;
    } VkMemoryRequirements2;

or the equivalent

    typedef VkMemoryRequirements2 VkMemoryRequirements2KHR;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to an extension-specific structure.

- `memoryRequirements` is a VkMemoryRequirements structure describing the memory requirements of the resource.

## Description

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2`

- `pNext` must be `NULL` or a pointer to a valid instance of VkMemoryDedicatedRequirements

- The `sType` value of each struct in the `pNext` chain must be unique

## See Also

VkMemoryRequirements, VkStructureType, vkGetAccelerationStructureMemoryRequirementsKHR, vkGetBufferMemoryRequirements2, vkGetBufferMemoryRequirements2KHR, vkGetGeneratedCommandsMemoryRequirementsNV, vkGetImageMemoryRequirements2, vkGetImageMemoryRequirements2KHR

## 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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.