Skip to main content

PFN_vkCreateBufferView

Type Alias PFN_vkCreateBufferView 

Source
pub type PFN_vkCreateBufferView = Option<unsafe extern "system" fn(device: Device, p_create_info: *const BufferViewCreateInfo, p_allocator: *const AllocationCallbacks, p_view: *mut BufferView) -> Result>;
Expand description

vkCreateBufferView Provided by VK_COMPUTE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateBufferView {
    None,
    Some(unsafe extern "system" fn(Device, *const BufferViewCreateInfo, *const AllocationCallbacks, *mut BufferView) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const BufferViewCreateInfo, *const AllocationCallbacks, *mut BufferView) -> Result)

Some value of type T.