Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

vkCreateBufferView(3)

Name

vkCreateBufferView - Create a new buffer view object

C Specification

To create a buffer view, call:

// Provided by VK_VERSION_1_0VkResult vkCreateBufferView(    VkDevice                                    device,    const VkBufferViewCreateInfo*               pCreateInfo,    const VkAllocationCallbacks*                pAllocator,    VkBufferView*                               pView);

Parameters

  • device is the logical device that creates the buffer view.

  • pCreateInfo is a pointer to aVkBufferViewCreateInfostructure containing parameters to be used to create the buffer view.

  • pAllocator controls host memory allocation as described in theMemory Allocation chapter.

  • pView is a pointer to aVkBufferView handle in which theresulting buffer view object is returned.

Description

Valid Usage
Valid Usage (Implicit)
  • VUID-vkCreateBufferView-device-parameter
    devicemust be a validVkDevice handle

  • VUID-vkCreateBufferView-pCreateInfo-parameter
    pCreateInfomust be a valid pointer to a validVkBufferViewCreateInfo structure

  • VUID-vkCreateBufferView-pAllocator-parameter
    IfpAllocator is notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacks structure

  • VUID-vkCreateBufferView-pView-parameter
    pViewmust be a valid pointer to aVkBufferView handle

  • VUID-vkCreateBufferView-device-queuecount
    The devicemust have been created with at least1 queue

See Also

Document Notes

For more information, see theVulkan Specification.

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


[8]ページ先頭

©2009-2026 Movatter.jp