Skip to main content

create_buffer_view

Function create_buffer_view 

Source
pub unsafe fn create_buffer_view(
    device: VkHandleRef<'_, VkDevice>,
    create_info: &BufferViewCreateInfo<'_>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
) -> Result<VkBufferView>
Expand description

ยงSafety

buffer in create_info must be created from device.