VkVideoGetMemoryPropertiesKHR(3)

# VkVideoGetMemoryPropertiesKHR(3) Manual Page

## Name

VkVideoGetMemoryPropertiesKHR - Structure specifying video session required memory heap type

Loading… please wait.

## C Specification

The VkVideoGetMemoryPropertiesKHR structure is defined as:

    // Provided by VK_KHR_video_queue
    typedef struct VkVideoGetMemoryPropertiesKHR {
        VkStructureType           sType;
        const void*               pNext;
        uint32_t                  memoryBindIndex;
        VkMemoryRequirements2*    pMemoryRequirements;
    } VkVideoGetMemoryPropertiesKHR;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `memoryBindIndex` is the memory bind index of the memory heap type described by the information returned in `pMemoryRequirements`.

- `pMemoryRequirements` returns the requested memory heap requirements entry of type VkMemoryRequirements2 for heap with index `memoryBindIndex`.

## Description

Valid Usage (Implicit)

- VUID-VkVideoGetMemoryPropertiesKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_GET_MEMORY_PROPERTIES_KHR`

- VUID-VkVideoGetMemoryPropertiesKHR-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkVideoGetMemoryPropertiesKHR-pMemoryRequirements-parameter
  `pMemoryRequirements` must be a valid pointer to a VkMemoryRequirements2 structure

## See Also

VkMemoryRequirements2, VkStructureType, vkGetVideoSessionMemoryRequirementsKHR

## 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-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0