createBufferView :: (Extendss BufferViewCreateInfo a, PokeChain a, MonadIO io)=> Devicedeviceis the logical device that creates the buffer view.-> BufferViewCreateInfo apCreateInfois a pointer to a BufferViewCreateInfo structure containing parameters to be used to create the buffer view.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io BufferView
vkCreateBufferView - Create a new buffer view object
Valid Usage
devicemust support at least one queue family with one of the QUEUE_COMPUTE_BIT or QUEUE_GRAPHICS_BIT capabilities
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid BufferViewCreateInfo structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepViewmust be a valid pointer to a BufferView handleThe device must have been created with at least
1queue
Return Codes
See Also
VK_VERSION_1_0, AllocationCallbacks, BufferView, BufferViewCreateInfo, Device