VKGETIMAGEMEMORYREQU(3)

NAME
vkGetImageMemoryRequirements - Returns the memory requirements for specified Vulkan object.

C SPECIFICATION

To determine the memory requirements for an image resource, call:

    void vkGetImageMemoryRequirements(
        VkDevice                                    device,
        VkImage                                     image,
        VkMemoryRequirements*                       pMemoryRequirements);

PARAMETERS

    • device is the logical device that owns the image.

    • image is the image to query.

    • pMemoryRequirements points to an instance of the VkMemoryRequirements structure in which the memory requirements of the image object are returned.

DESCRIPTION

VALID USAGE

    • device must be a valid VkDevice handle

    • image must be a valid VkImage handle

    • pMemoryRequirements must be a pointer to a VkMemoryRequirements structure

    • image must have been created, allocated, or retrieved from device

SEE ALSO

VkDevice, VkImage, VkMemoryRequirements

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetImageMemoryRequirements

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

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.