VKBUFFERVIEWCREATEIN(3)

NAME
VkBufferViewCreateInfo - Stub page (not yet written)

C SPECIFICATION

    typedef struct VkBufferViewCreateInfo {
        VkStructureType            sType;
        const void*                pNext;
        VkBufferViewCreateFlags    flags;
        VkBuffer                   buffer;
        VkFormat                   format;
        VkDeviceSize               offset;
        VkDeviceSize               range;
    } VkBufferViewCreateInfo;

This is a stub page. Content has not been filled in yet. Khronos is aware of the problem and working on it as time allows; please do not file Github issues bringing the missing content to our attention.

FIELDS

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • buffer must be a valid VkBuffer handle

    • format must be a valid VkFormat value

    • offset must be less than the size of buffer

    • offset must be a multiple of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment

    • If range is not equal to VK_WHOLE_SIZE:

        • range must be greater than 0

        • range must be a multiple of the element size of format

        • range divided by the size of an element of format, must be less than or equal to VkPhysicalDeviceLimits::maxTexelBufferElements

        • the sum of offset and range must be less than or equal to the size of buffer

    • buffer must have been created with a usage value containing at least one of VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT

    • If buffer was created with usage containing VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, format must be supported for uniform texel buffers, as specified by the VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT flag in VkFormatProperties::bufferFeatures returned by vkGetPhysicalDeviceFormatProperties

    • If buffer was created with usage containing VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT, format must be supported for storage texel buffers, as specified by the VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT flag in VkFormatProperties::bufferFeatures returned by vkGetPhysicalDeviceFormatProperties

SEE ALSO

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.